openai-cookbook icon indicating copy to clipboard operation
openai-cookbook copied to clipboard

Fixes logging to use Flask's default logging config

Open zbskii opened this issue 2 years ago • 0 comments
trafficstars

Flask sets up its logger and doesn't touch the root python logger. This patch centralizes the logging code in app.py and copies the default flask logger config to the root logger

zbskii avatar Mar 17 '23 19:03 zbskii