Set of files and scripts for Embedded Lab 1
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

44 lines
868 B

  1. [loggers]
  2. keys=root,aiosqlite,databases
  3. [handlers]
  4. keys=syslog,null
  5. [formatters]
  6. keys=simpleFormatter
  7. [logger_root]
  8. level=DEBUG
  9. handlers=syslog
  10. # Both aiosqlite and databases log sensitive info, DO NOT
  11. # enable logging on these unless you want to contaminate your
  12. # logs w/ authentication credentials and other security senstive
  13. # information
  14. [logger_aiosqlite]
  15. level=DEBUG
  16. handlers=null
  17. qualname=aiosqlite
  18. propagate=0
  19. [logger_databases]
  20. level=DEBUG
  21. handlers=null
  22. qualname=databases
  23. propagate=0
  24. [handler_null]
  25. class=NullHandler
  26. [handler_syslog]
  27. class=handlers.SysLogHandler
  28. level=NOTSET
  29. formatter=simpleFormatter
  30. args=('/var/run/log', handlers.SysLogHandler.LOG_USER)
  31. [formatter_simpleFormatter]
  32. format=bitelab: %(asctime)s.%(msecs)03d - %(name)s - %(levelname)s - %(message)s
  33. datefmt=%Y-%m-%dT%H:%M:%S
  34. # XXX This doesn't appear to work
  35. #converter=time.gmtime