We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6c36c51 + aee9964 commit 89fb498Copy full SHA for 89fb498
json_logging/__init__.py
@@ -81,9 +81,9 @@ def config_root_logger():
81
_logger.debug("Update root logger to using JSONLogFormatter")
82
if len(logging.root.handlers) > 0:
83
if _current_framework is not None or _current_framework != '-':
84
- util.use_cf_logging_formatter(logging.root, JSONLogWebFormatter)
+ util.use_cf_logging_formatter([logging.root], JSONLogWebFormatter)
85
else:
86
- util.use_cf_logging_formatter(logging.root, JSONLogFormatter)
+ util.use_cf_logging_formatter([logging.root], JSONLogFormatter)
87
# remove all handlers for request logging
88
request_logger = _current_framework['app_request_instrumentation_configurator']().get_request_logger()
89
if request_logger:
0 commit comments