mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-30 00:11:03 +01:00
26 lines
492 B
Plaintext
26 lines
492 B
Plaintext
|
version: 1
|
||
|
|
||
|
formatters:
|
||
|
precise:
|
||
|
format: '%(asctime)s - %(name)s - %(lineno)d - %(levelname)s - %(request)s - %(message)s'
|
||
|
|
||
|
handlers:
|
||
|
file:
|
||
|
class: logging.handlers.RotatingFileHandler
|
||
|
formatter: precise
|
||
|
filename: /data/{{ domain }}.homeserver.log
|
||
|
maxBytes: 10485760
|
||
|
backupCount: 3
|
||
|
console:
|
||
|
class: logging.StreamHandler
|
||
|
formatter: precise
|
||
|
|
||
|
loggers:
|
||
|
synapse:
|
||
|
level: INFO
|
||
|
handlers: [file, console]
|
||
|
|
||
|
root:
|
||
|
level: INFO
|
||
|
handlers: [file, console]
|