diff options
| author | 2018-09-19 00:43:44 +0100 | |
|---|---|---|
| committer | 2018-09-19 00:43:44 +0100 | |
| commit | af01bccaa5450dd0401cf0337764f94c84405518 (patch) | |
| tree | 4034d71d346d0a9a66774fad4daee445480bfb97 /Logging.py | |
| parent | Set 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.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |
