- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: syslog.conf confusion
Categories
Company
Local Language
Forums
Discussions
- Integrity Servers
- Server Clustering
- HPE NonStop Compute
- HPE Apollo Systems
- High Performance Computing
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp Software
Knowledge Base
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2005 03:14 AM
12-12-2005 03:14 AM
syslog.conf confusion
I am trying to fine tune my syslog.conf file as below
security.info /var/adm/syslog/security.log
auth.info /var/adm/syslog/auth.log
kern.info /var/adm/syslog/kernelinfo.log
kern.debug /var/adm/syslog/kerneldebug.log
*.info /var/adm/syslog/allinfo.log
I am running into few problems when i try to use this configuration file. After restarting the syslogd daemon, i tried to test the functionality using logger command and found the results to be surprising.
(1) Messages from Security and Auth facilities at all levels are getting logged inside both files namely security.log & auth.log and ofcourse inside allinfo.log
(i used logger -p security.info "message" likewise for auth.info, security.notice, auth.notice....... etc), i was expecting security messages ONLY to go inside security.log and same for auth message !!
(2) if i do logger -p kern.info "kernel message", this is getting logged only inside allinfo.log and NOT inside kernelinfo.log
(All these files do exist on their locations and have write permissions for all, also there are TABS (no spaces) inside syslog.conf file).
Please help me on this.
Thank you very much in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2005 04:58 AM
12-12-2005 04:58 AM
Re: syslog.conf confusion
security.info; auth.none var/adm/syslog/security.log
auth.inf; security.none /var/adm/syslog/auth.log
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2005 09:19 PM
12-12-2005 09:19 PM
Re: syslog.conf confusion
I tried making suggested changes to the syslog.conf file and restarted the syslogd daemon but after the changes it logs nothing !
Nothing for security and nothing for auth.
Both files are empty after raising alerts via logger command !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2005 09:54 PM
12-12-2005 09:54 PM
Re: syslog.conf confusion
security.info;auth,kern.none /var/adm/syslog/security.log
auth.info;security,kern.none /var/adm/syslog/auth.log
kern.info;security,auth.none /var/adm/syslog/kernelinfo.log
kern.debug /var/adm/syslog/kerneldebug.log
*.info;kern.none;security.none;auth.none /var/adm/syslog/allinfo.log
Revert your results. If it is not working then specify which scenario it is not doing?
-Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2005 10:58 PM
12-12-2005 10:58 PM
Re: syslog.conf confusion
Have made the suggested changes results are as below
1. logger -p security.info "Security Info"
Nothing logged inside security.log, nothing inside auth.log & nothing inside allininfo.log
2. logger -p auth.info "Auth Info"
Same as case 1, nothing got logged anywhere
3. logger -p kern.info "Kernel Info"
This one got logged inside allinfo.log, nothing inside kernelinfo.log, nothing inside kerneldebug.log
4. logger -p kern.debug "kernel Debug"
Nothing got logged anywhere
Any further suggestions?