logging 979 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # -*- mode: conf -*-
  2. # vim:ft=cfg
  3. # Logging config file for Radicale - A simple calendar server
  4. #
  5. # The recommended path for this file is /etc/radicale/logging
  6. # The path must be specified in the logging section of the configuration file
  7. #
  8. # Some examples are included in Radicale's documentation, see:
  9. # http://radicale.org/logging/
  10. #
  11. # Other handlers are available. For more information, see:
  12. # http://docs.python.org/library/logging.config.html
  13. # Loggers, handlers and formatters keys
  14. [loggers]
  15. # Loggers names, main configuration slots
  16. keys = root
  17. [handlers]
  18. # Logging handlers, defining logging output methods
  19. keys = console
  20. [formatters]
  21. # Logging formatters
  22. keys = simple
  23. # Loggers
  24. [logger_root]
  25. # Root logger
  26. level = WARNING
  27. handlers = console
  28. # Handlers
  29. [handler_console]
  30. # Console handler
  31. class = StreamHandler
  32. args = (sys.stderr,)
  33. formatter = simple
  34. # Formatters
  35. [formatter_simple]
  36. # Simple output format
  37. format = [%(thread)x] %(levelname)s: %(message)s