format: '%(asctime)s [%(levelname)s]: %(name)s - %(message)s'
handlers:
console:
+ # "console" captures tracebacks, which the syslog handler does not
class: logging.StreamHandler
level: INFO
stream: ext://sys.stdout
formatter: console
syslog:
+ # "syslog" logs to syslog (which then seems to log to journalctl).
+ # This seems to provide "hilighting" based on priority level in a way
+ # the console handler does not.
class: logging.handlers.SysLogHandler
level: INFO
address: /dev/log