- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to configure /etc/syslog.conf for syslogd?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
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
тАО01-14-2002 08:31 AM
тАО01-14-2002 08:31 AM
how to configure /etc/syslog.conf for syslogd?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2002 08:34 AM
тАО01-14-2002 08:34 AM
Re: how to configure /etc/syslog.conf for syslogd?
*.notice /var/adm/syslog/syslog.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2002 08:36 AM
тАО01-14-2002 08:36 AM
Re: how to configure /etc/syslog.conf for syslogd?
*.err /dev/null (or some file)
*.crit /var/adm/syslog/crit_errors
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2002 08:44 AM
тАО01-14-2002 08:44 AM
Re: how to configure /etc/syslog.conf for syslogd?
Try this:
1) Edit /etc/syslog.conf and add these lines.
*.alert /var/adm/syslog/syslog.log
*.notice /var/adm/syslog/syslog.log
*.err /var/adm/syslog/errors.log
*.crit /var/adm/syslog/crits.log
*.warning /var/adm/syslog/warnings.log
2) Make syslogd re-read the new conf file by using:
# kill -HUP `cat /var/run/syslog.pid`
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2002 08:46 AM
тАО01-14-2002 08:46 AM
Re: how to configure /etc/syslog.conf for syslogd?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2002 09:13 AM
тАО01-14-2002 09:13 AM
Re: how to configure /etc/syslog.conf for syslogd?
Use "man syslogd" for information on how to configure /etc/syslog.conf to suit your requirements.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2002 09:20 AM
тАО01-14-2002 09:20 AM
Re: how to configure /etc/syslog.conf for syslogd?
You can exclude levels using level none.
For eg: *.info;mail.none - will select all messages except mail.
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2002 11:09 AM
тАО01-14-2002 11:09 AM
Re: how to configure /etc/syslog.conf for syslogd?
Thanks for you help. Your solution is getting closer to what I want.
If we configure a seperate logfile for each level, that would cause an alarm is duplicated into different logfile.
for example, if my facility is local1 and syslog.conf is below
local1.alarm /tmp/alarm
local1.warning /tmp/warning
local1.notice /tmp/notice
when new alarm on "notice level" is comming, it's supposed to be logged into /tmp/notice, /tmp/warning and /tmp/alarm.
That's not what I want.
Any more suggestions?