Skip to content

Commit

Permalink
Ajustando Logs para STDOUT
Browse files Browse the repository at this point in the history
  • Loading branch information
henriporto committed May 2, 2022
1 parent 8bf20cf commit 073a8c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions owasp-top10-2021-apps/a9/games-irados/app/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
},
'handlers': {
'consolehandler': {
'level': 'DEBUG',
'level': 'INFO',
'formatter': 'standard',
'class': 'logging.StreamHandler',
'stream': 'ext://sys.stdout',
Expand All @@ -56,7 +56,7 @@
},
'console': {
'handlers': ['consolehandler'],
'level': 'DEBUG',
'level': 'INFO',
'propagate': False
},
}
Expand All @@ -66,7 +66,7 @@
app = Flask(__name__)
bootstrap = Bootstrap(app)
app.config.from_pyfile('config.py')
logfile = logging.getLogger('file')
logfile = logging.getLogger('console')

def generate_csrf_token():
'''
Expand Down

0 comments on commit 073a8c3

Please sign in to comment.