We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8dcb883 commit b6b13efCopy full SHA for b6b13ef
2 files changed
cloudbot/__init__.py
@@ -25,6 +25,7 @@ def _setup():
25
logging_config = {}
26
27
file_log = logging_config.get("file_log", False)
28
+ console_level = "INFO" if logging_config.get("console_log_info", True) else "WARNING"
29
30
global logging_dir
31
logging_dir = os.path.join(os.path.abspath(os.path.curdir), "logs")
@@ -50,7 +51,7 @@ def _setup():
50
51
"console": {
52
"class": "logging.StreamHandler",
53
"formatter": "brief",
- "level": "INFO",
54
+ "level": console_level,
55
"stream": "ext://sys.stdout"
56
}
57
},
config.default.json
@@ -128,6 +128,7 @@
128
"show_motd": true,
129
"show_server_info": true,
130
"raw_file_log": false,
131
- "file_log": true
+ "file_log": true,
132
+ "console_log_info": true
133
134
0 commit comments