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