0

I currently have syslog.conf like so to send INFO logs to /var/log/messages

*.info;mail.none;authpriv.none; /var/log/messages;

I have an application that uses python libraries LOG_USER facility to log Python Ref doc, but these logs are not getting sent to /var/log/messages

I would like to update my syslog.conf file to my config file (line above) to include LOG_USER messages. From what I can see LOG_USER maps to syslog user-level messages syslog ref but I cannot figure out what I need to add ot my conf file.

Any direction appreciated

0

Use this:

*.info;user.*;mail.none;authpriv.none; /var/log/messages;

I added "user.*" part, which causes syslog daemon to accept LOG_USER messages.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.