Improve debug logging level
This commit is contained in:
parent
46bdd10921
commit
881c525ae9
1 changed files with 0 additions and 1 deletions
|
@ -65,7 +65,6 @@ cors = CORS(app, resources={r"/comments/*": {"origins": "*"}})
|
|||
|
||||
# tune logging level
|
||||
if not config.DEBUG:
|
||||
logging.getLogger('flask_cors').level = logging.WARNING
|
||||
logging.getLogger('app.cors').level = logging.WARNING
|
||||
logging.getLogger('werkzeug').level = logging.WARNING
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue