Fix for default loggin config
This commit is contained in:
parent
e85a309302
commit
9d3b133246
@ -207,6 +207,7 @@ def default_logging_config():
|
|||||||
add_handler_stdout(logger, config.LOG_LEVEL)
|
add_handler_stdout(logger, config.LOG_LEVEL)
|
||||||
if config.DEBUG:
|
if config.DEBUG:
|
||||||
add_handler_socket(logger, host=config.LOG_HOSTNAME)
|
add_handler_socket(logger, host=config.LOG_HOSTNAME)
|
||||||
|
return loggger
|
||||||
|
|
||||||
|
|
||||||
def appLoggingConfigure(basepath, target, log_name_lvl=[], target_level=logging.DEBUG, fmt=SHORT_FMT, ring_logs=None, host=None, port=None):
|
def appLoggingConfigure(basepath, target, log_name_lvl=[], target_level=logging.DEBUG, fmt=SHORT_FMT, ring_logs=None, host=None, port=None):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user