- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Configure Syslog.conf
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
09-30-2003 06:15 AM
09-30-2003 06:15 AM
I need configure syslog.conf for log on console if net cable is disconected.
And information to use (debug, warning, error, information, alert, etc)
Regards
RenÃ
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2003 06:36 AM
09-30-2003 06:36 AM
Re: Configure Syslog.conf
If this isn't your issue, could you clarify your question further?
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2003 07:08 AM
09-30-2003 07:08 AM
Re: Configure Syslog.conf
Why don't you post the contents of your /etc/syslog.conf file and we'll go from there?
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2003 12:28 PM
09-30-2003 12:28 PM
Re: Configure Syslog.conf
The syslog.conf configure the log in the console and the syslog.log.
If cable of net is disconnect, i need register in syslog.log and console.
How to configure this ??
/etc/syslog.conf configuration have any selector (information, warinig, error) way configure this.
Regards
Rene
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2003 04:01 PM
09-30-2003 04:01 PM
SolutionSo there is no way to easily associate a particular message (ie, LAN errors, disk errors, etc) with a given facility or even an importance level. If the LAN messages only shows up in syslog and not the console, the default setting in syslog.conf is *.alert which means any facility with alert of higher messages will go to the console. If the LAN messages don't go to the console that would imply that the logging on the console is occurring at at a lower level than alert (which is the second highest). The list is (sorted highest to lowest):
crit
alert
err
warning
notice
info
debug
So if you chenge the line in syslog.conf that contains /dev/co9nsole from:
*.alert /dev/console
to
*.notice /dev/console
then most likely the message will now also go to the console. The downside is that many more messages may also go to the console too. You can turn on the logging of facility and level information in syslog by changing /etc/rc.config.d/syslogd to start syslog with -v as in:
SYSLOGD_OPTS="-v"
and then restart syslogd using the start/stop script:
/sbin/init.d/syslogd stop
/sbin/init.d/syslogd start
Now you'll have the code for each message logged in syslog.log (see the man page for syslog for the numbers)
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2003 06:23 PM
09-30-2003 06:23 PM
Re: Configure Syslog.conf
*.alert /dev/console
in /etc/syslog.conf
file that should bring the link down messages on the console
Revert