This is a simple test case that shows the problem using python logging.config.
Just run it with: ./python-logging-syslog.py my message
It will output to console the same string it should be writing to syslog. However, the one to syslog is messed up. (tail -f /var/log/syslog).
This is a simple test case that shows the problem using python logging.config.
Just run it with: logging- syslog. py my message
./python-
It will output to console the same string it should be writing to syslog.
However, the one to syslog is messed up. (tail -f /var/log/syslog).