mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-28 08:49:30 -05:00
Change a few more references of debug to verbose
This commit is contained in:
parent
758c640561
commit
e3357192ba
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user