1
0

logging.template 1007 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # -*- mode: conf -*-
  2. # vim:ft=cfg
  3. ### AUTO-GENERATED CONFIGURATION
  4. ### USED BY RADICALE
  5. ### DO NOT EDIT
  6. ### SEE /etc/config/radicale INSTEAD
  7. [loggers]
  8. keys = root
  9. [handlers]
  10. keys = console,file,syslog
  11. [formatters]
  12. keys = simple,full,syslog
  13. [logger_root]
  14. level = DEBUG
  15. handlers = console,file,syslog
  16. [handler_console]
  17. class = StreamHandler
  18. args = (sys.stdout,)
  19. formatter = simple
  20. # level = WARNING # set via /etc/config/radicale
  21. [handler_file]
  22. class = handlers.RotatingFileHandler
  23. formatter = full
  24. # level = INFO # set via /etc/config/radicale
  25. # args = ('[filename]','a',[maxbytes],[backupcount]) # set via /etc/config/radicale
  26. [handler_syslog]
  27. class = handlers.SysLogHandler
  28. args = ('/dev/log', handlers.SysLogHandler.LOG_DAEMON)
  29. formatter = syslog
  30. # level = WARNING # set via /etc/config/radicale
  31. [formatter_simple]
  32. format = %(message)s
  33. [formatter_full]
  34. format = %(asctime)s - %(levelname)s: %(message)s
  35. [formatter_syslog]
  36. format = radicale [%(process)d]: %(message)s