log.conf 885 B

123456789101112131415161718192021222324252627282930313233343536
  1. ########################################
  2. # Definition for the different objects
  3. # - FOR DEVELOPMENT ONLY -
  4. #
  5. # Directories where log files are kept must already exist.
  6. # That's why we pick /tmp.
  7. #
  8. # The loggers are configured to write to the log files ONLY.
  9. # Developers may set the DESKTOP_DEBUG environment variable to
  10. # enable stderr logging output.
  11. ########################################
  12. [logger_root]
  13. handlers=logfile
  14. [handler_logfile]
  15. level=DEBUG
  16. class=handlers.SocketHandler
  17. formatter=default
  18. args=("/tmp/hue.uds",None,)
  19. [formatter_default]
  20. class=desktop.log.formatter.Formatter
  21. format=[%(asctime)s] %(module)-12s %(levelname)-8s %(message)s
  22. datefmt=%d/%b/%Y %H:%M:%S %z
  23. ########################################
  24. # A summary of loggers, handlers and formatters
  25. ########################################
  26. [loggers]
  27. keys=root
  28. [handlers]
  29. keys=logfile
  30. [formatters]
  31. keys=default