This commit is contained in:
Tulir Asokan 2018-09-26 10:32:24 +03:00
parent 4550fa25f7
commit c161fd71e7
8 changed files with 848 additions and 6 deletions

View file

@ -8,6 +8,9 @@ server:
listen: 0.0.0.0:29316
base_path: /_matrix/maubot
admins:
- "@admin:example.com"
# Python logging configuration.
#
# See section 16.7.2 of the Python documentation for more info:
@ -21,7 +24,7 @@ logging:
file:
class: logging.handlers.RotatingFileHandler
formatter: precise
filename: ./maubot.log
filename: ./logs/maubot.log
maxBytes: 10485760
backupCount: 10
console:
@ -30,8 +33,10 @@ logging:
loggers:
maubot:
level: DEBUG
mautrix:
level: DEBUG
aiohttp:
level: INFO
root:
level: DEBUG
handlers: [file, console]
handlers: [file, console]