1

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

1 Answer 1

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.

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.