fix(logging): request logs no longer show up twice
This commit is contained in:
parent
f501acf839
commit
180fccaf90
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ def create_app(test_config=None):
|
|||
if not app.config['DEBUG']:
|
||||
app.logger = logging.getLogger('lumi2')
|
||||
app.logger.setLevel(logging.INFO)
|
||||
app.logger.propagate = False
|
||||
|
||||
console_handler = logging.StreamHandler()
|
||||
console_handler.setLevel(logging.INFO)
|
||||
|
|
Loading…
Add table
Reference in a new issue