local 6 informational messages in /var/log/messages apart from all the other messaging also being sent to /var/log/messages

lolaferrari
lolaferrari used Ask the Experts™
on
If my rsyslog.conf is configured to write *.info *.warn *.kern and some others to /var/log/messages is there any way to identify the local6 *.info messages apart from the *kern and *.warn and others in  /var/log/messages? I've noticed sometimes that the messages contain kern and warn but not just sure what *.info are and if there's an easy way to identify them
I'd rather not have to configure /etc/rsyslog.conf to have another log file for just *.info if it can be avoided. If there's no other way then I might just have to do it but I'm curious what the local 6 information messages actually are.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Distinguished Expert 2017
Commented:
*.ino
Includes local6.info

If you do not want local6.* going into message, you need to explicitly exclude them.
Do you have a local6.info /var/log/local6?

Adm, nail, ........ Man rsyslog it will list info on the aváilable facilities .......local1-7....
Rahul ShendeJr. Linux System Administrator

Commented:
change the file separately for each log, so you can identify the logs easily. configure in a way that your log will store in a separate file.

Author

Commented:
I thought local6 was the same thing as *.info. Are they something different then ?

Author

Commented:
Muchas Gracias!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial