Skip to content

Commit 3f1f3e9

Browse files
mailchuckPeterSurda
authored andcommitted
Remove default debugging
Only log errors. Can be overriden by a config file.
1 parent 9edde11 commit 3f1f3e9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/debug.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@
2525
import helper_startup
2626
helper_startup.loadConfig()
2727

28-
# TODO(xj9): Get from a config file.
29-
log_level = 'DEBUG'
28+
# Now can be overriden from a config file, which uses standard python logging.config.fileConfig interface
29+
# examples are here: https://bitmessage.org/forum/index.php/topic,4820.msg11163.html#msg11163
30+
log_level = 'WARNING'
3031

3132
def log_uncaught_exceptions(ex_cls, ex, tb):
3233
logging.critical(''.join(traceback.format_tb(tb)))

0 commit comments

Comments
 (0)