Skip to content

Commit 4178ff8

Browse files
author
Adrian
committed
Need the formatter...
1 parent e941589 commit 4178ff8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

json_logging/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def init_request_instrument(app=None, custom_formatter=None):
173173

174174
formatter = custom_formatter if custom_formatter else JSONRequestLogFormatter
175175
logger = configurator.request_logger
176-
utils.update_formatter_for_loggers([logger])
176+
util.update_formatter_for_loggers([logger], formatter)
177177

178178

179179
def get_request_logger():

0 commit comments

Comments
 (0)