Change a few more references of debug to verbose

This commit is contained in:
Micah Lee 2019-04-19 09:32:11 -07:00
parent 758c640561
commit e3357192ba
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -195,10 +195,10 @@ class Web(object):
def verbose_mode(self):
"""
Turn on debugging mode, which will log flask errors to a debug file.
Turn on verbose mode, which will log flask errors to a file.
"""
flask_debug_filename = os.path.join(self.common.build_data_dir(), 'flask_debug.log')
log_handler = logging.FileHandler(flask_debug_filename)
flask_log_filename = os.path.join(self.common.build_data_dir(), 'flask.log')
log_handler = logging.FileHandler(flask_log_filename)
log_handler.setLevel(logging.WARNING)
self.app.logger.addHandler(log_handler)