PLEX86  x86- Virtual Machine (VM) Program
 Plex86  |  CVS  |  Mailing List  |  Download  |  Linux  |  Newsgroups

facility, priority in syslog messages


Your Ad Here

Your Ad Here

Allen Kistler .....

dns concept
Someone in outside world looks up abc1234.com. His DNS server looks up the servers for .com. These are known. (Look in yoursrv-named-db...

Yes, I'm aware of that. I'll have to configure all facilities and priorities to be logged into seperate files in that case. I thought it would be a lot simpler if facility and priority could be logged along with the message. I'd ideally like to just view one filevar-log-messages and when I see noise in it, if I knew the facility and priority, it would be straight forward for me to filter it out. Given that syslogd can do so much with the messages, I thought there would probably be an option for this simple extention.

Initially myvar-log-messages was cluttred up with messages from crond (Looks like sysstat has work to do every 10 minutes through cron and cron ends up making an log entry every 10 minutes.) It was quite straight forward that the messages were from cron and I simply had it filtered out. But then I saw that still, I had an log entry every 10 minutes of the form:

Virtual Machines I need to know
Just in case the basic problems are misunderstood: 1) I expect that the (or the first) scanner will be directly connected to the machine that controls it...

Sep 29 11:50:01 localhost crond(pamunix)14568: session opened for user root by (uid=0) Sep 29 11:50:01 localhost crond(pamunix)14568: session closed for user root Sep 29 12:00:01 localhost crond(pamunix)14593: session opened for user root by (uid=0) Sep 29 12:00:01 localhost crond(pamunix)14593: session closed for user root Sep 29 12:01:01 localhost crond(pamunix)14599: session opened for user root by (uid=0) Sep 29 12:01:01 localhost crond(pamunix)14599: session closed for user root Sep 29 12:10:01 localhost crond(pamunix)14642: session opened for user root by (uid=0) Sep 29 12:10:01 localhost crond(pamunix)14642: session closed for user root Sep 29 12:20:01 localhost crond(pamunix)14653: session opened for user root by (uid=0) Sep 29 12:20:01 localhost crond(pamunix)14653: session closed for user root

Now I'm not sure which was the facility that logged these (I'm sure if I keep looking I'll be able to figure out what facility and priority these messages are from, but I thought it would be better if there was generic solution). It would have been straight forward if the priority and facility had been logged along with message.

Thanks for you time.

Whitelisting a host with iptables
Hello, I am running an NFS server on a Debian machine for a set of scientific instruments that understand only NFS...

Regards, Manikam.



Your Ad Here

List | Previous | Next

Virtual Machines I need to know

Linux groups from Newsgroups

The #1 Usenet Provider on the Internet

flash drive mount and write permission 2641