aboutsummaryrefslogtreecommitdiff
path: root/Logging.py
diff options
context:
space:
mode:
authorGravatar jesopo2018-09-19 00:43:44 +0100
committerGravatar jesopo2018-09-19 00:43:44 +0100
commitaf01bccaa5450dd0401cf0337764f94c84405518 (patch)
tree4034d71d346d0a9a66774fad4daee445480bfb97 /Logging.py
parentSet IRCServer.channel_types to ["#"] by default (diff)
signature
Change log level to show in logs as "[LEVEL]" instead of " - LEVEL - "
Diffstat (limited to 'Logging.py')
-rw-r--r--Logging.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Logging.py b/Logging.py
index c2fbde1c..dadde2b9 100644
--- a/Logging.py
+++ b/Logging.py
@@ -19,7 +19,7 @@ class Log(object):
self.logger.setLevel(logging.DEBUG)
formatter = BitBotFormatter(
- "%(asctime)s - %(levelname)s - %(message)s",
+ "%(asctime)s [%(levelname)s] %(message)s",
"%Y-%m-%dT%H:%M:%S.%f%z")
stdout_handler = logging.StreamHandler(sys.stdout)