mirror of
https://github.com/wassname/ray.git
synced 2026-07-02 19:22:51 +08:00
Ray Logging Configuration (#3691)
* fix logging for autoscaler * module logging * try this for logging * yapf * fix * Initial logging setup * momery * ok * remove basicconfig * catch * remove package logging * print * fix * try_fix * fix 1 * revert rllib * logging level * flake8 * fix * fix * Remove vestigal TODO
This commit is contained in:
committed by
Philipp Moritz
parent
5f145041ef
commit
d128636bab
@@ -57,8 +57,7 @@ def check_no_existing_redis_clients(node_ip_address, redis_client):
|
||||
help=ray_constants.LOGGER_FORMAT_HELP)
|
||||
def cli(logging_level, logging_format):
|
||||
level = logging.getLevelName(logging_level.upper())
|
||||
logging.basicConfig(level=level, format=logging_format)
|
||||
logger.setLevel(level)
|
||||
ray.utils.setup_logger(level, logging_format)
|
||||
|
||||
|
||||
@cli.command()
|
||||
|
||||
Reference in New Issue
Block a user