- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- configure syslog
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
Forums
Discussions
Discussions
Discussions
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
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
02-27-2001 11:34 PM
02-27-2001 11:34 PM
configure syslog
Is there a way to configure syslog.conf such that all messages, regardless of whether it is debug, alert or others, will all be log to /var/adm/syslog/syslog.log?
I have tried the following:
*.debug;mail.none /var/adm/syslog/syslog.conf
It is supposed to log all messages except mail messages, right? However, it does not seems to log all messages. I did a test by logging in to the system using the wrong password,it is not log.
Any help is appreciated. Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2001 11:56 PM
02-27-2001 11:56 PM
Re: configure syslog
You should insert in /etc/syslog.conf the following line :
*.debug;mail.none /var/adm/syslog/syslog.log
Federico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2001 12:05 AM
02-28-2001 12:05 AM
Re: configure syslog
after changes to syslog.conf , reinitialize syslogd daemon:
/sbin/init.d/syslogd stop
/sbin/init.d/syslogd start
federico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2001 12:14 AM
02-28-2001 12:14 AM
Re: configure syslog
Sorry, I have typed wrongly in my first message. I did try
*.debug;mail.none /var/adm/syslog/syslog.log
but it doesn't work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2001 12:23 AM
02-28-2001 12:23 AM
Re: configure syslog
*.info;mail.none /var/adm/syslog/syslog.conf
But i think that to see the bad login you should use lastb command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2001 12:24 AM
02-28-2001 12:24 AM
Re: configure syslog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2001 12:51 PM
02-28-2001 12:51 PM
Re: configure syslog
You must either stop and restart syslogd or send it a hangup signal. The hangup signal will cause syslogd to reread /etc/syslog.conf. From the man page for syslogd(1m):
To make syslogd, re-read its configuration file, send it a HANGUP signal:
kill -HUP `cat /var/run/syslog.pid`
--Bruce