|
|
|
@@ -108,12 +108,6 @@ logging: |
|
|
|
normal: |
|
|
|
format: '[%(asctime)s] [%(levelname)s@%(name)s] %(message)s' |
|
|
|
handlers: |
|
|
|
file: |
|
|
|
class: logging.handlers.RotatingFileHandler |
|
|
|
formatter: normal |
|
|
|
filename: /var/log/maubot.log |
|
|
|
maxBytes: 10485760 |
|
|
|
backupCount: 10 |
|
|
|
console: |
|
|
|
class: logging.StreamHandler |
|
|
|
formatter: colored |
|
|
|
@@ -126,4 +120,4 @@ logging: |
|
|
|
level: INFO |
|
|
|
root: |
|
|
|
level: DEBUG |
|
|
|
handlers: [file, console] |
|
|
|
handlers: [console] |