Skip to content
Snippets Groups Projects
Commit 25c6fef0 authored by Erik Reid's avatar Erik Reid
Browse files

added syslog handler

parent afad52b4
Branches
Tags
No related merge requests found
......@@ -15,6 +15,14 @@
"stream": "ext://sys.stdout"
},
"syslog_handler": {
"class": "logging.handlers.SysLogHandler",
"level": "DEBUG",
"address": "/var/run/syslog",
"facility": "user",
"formatter": "simple"
},
"info_file_handler": {
"class": "logging.handlers.RotatingFileHandler",
"level": "INFO",
......@@ -39,7 +47,7 @@
"loggers": {
"inventory_provider": {
"level": "DEBUG",
"handlers": ["console"],
"handlers": ["console", "syslog_handler"],
"propagate": false
},
"inventory_provider.snmp": {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment