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/homeserver.log"
    maxBytes: 10485760
    backupCount: 3
  console:
    class: logging.StreamHandler
    formatter: precise
root:
  level: INFO
  handlers: [file, console]
disable_existing_loggers: false
