- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- stop messages from going to syslog.log
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
12-04-2002 05:41 AM
12-04-2002 05:41 AM
Dec 4 05:48:21 image1 uvservd[24254]: Got connection from 10.16.4.38:4873
Dec 4 05:48:22 image1 uvservd[24254]: ping success
Dec 4 06:18:27 image1 uvservd[24655]: Working dir = /usr/pentasafe/HP-UX/vsau/bin
Dec 4 06:18:27 image1 uvservd[24655]: Got connection from 10.16.4.38:1500
Dec 4 06:18:27 image1 uvservd[24655]: ping success
Dec 4 06:48:32 image1 uvservd[27080]: Working dir = /usr/pentasafe/HP-UX/vsau/bin
Dec 4 06:48:32 image1 uvservd[27080]: Got connection from 10.16.4.38:2101
Dec 4 06:48:32 image1 uvservd[27080]: ping success
I would like to block the above messages from entering my syslog, can anyone tell me how to do this?
/etc/syslog.conf:
image1(ts9ac1)/home/ts9ac1> more /etc/syslog.conf
# @(#) $Revision: 74.1 $
#
# syslogd configuration file.
#
# See syslogd(1M) for information about the format of this file.
#
mail.debug /var/adm/syslog/mail.log
*.info;mail.none /var/adm/syslog/syslog.log
*.alert /dev/console
*.alert root
*.emerg *
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2002 05:45 AM
12-04-2002 05:45 AM
Re: stop messages from going to syslog.log
What is uvservd?
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2002 05:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2002 05:54 AM
12-04-2002 05:54 AM
Re: stop messages from going to syslog.log
then restart the syslogd
# /sbin/init.d/syslogd
usage: /sbin/init.d/syslogd {start|stop}
(stop then start)
or kill -HUP `cat /var/run/syslog.pid`
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2002 06:02 AM
12-04-2002 06:02 AM
Re: stop messages from going to syslog.log
Otherwise, you will need to find out the syslog facility that has been attached to this process, and, if possible, exclude it if it is unique, or send it to another file, e.g. if it is against the "user" facility:
*.info;mail.none;user.none /var/adm/syslog/syslog.log
user.info /var/adm/syslog/userlog.log
This way you'll be able to separate the "user" log messages into a different file.
Don't forget to send a -HUP to syslogd to re-read the config file.
Rgds, Robin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2002 06:12 AM
12-04-2002 06:12 AM
Re: stop messages from going to syslog.log
To do this;
vi /etc/rc.config.d/syslogd
Change the line
SYSLOGD_OPTS="-D"
to
SYSLOGD_OPTS="-D -v"
cd /sbin/init.d
./syslogd stop
./syslogd start
This will then enable the enhanced logging mode of syslogd
The messages in syslog.log will then be preceded by an identifier code
eg:
Dec 4 03:28:31 6D:xxxxxxxx above message repeats 89 times
The code 6D indicates that this is a message of severity INFO, and type DAEMON
The summary of severity /type details from man 3c syslog gives you
LOG_EMERG 0
LOG_ALERT 1
LOG_CRIT 2
LOG_ERR 3
LOG_WARNING 4
LOG_NOTICE 5
LOG_INFO 6
LOG_DEBUG 7
LOG_KERN A
LOG_USER B
LOG_MAIL C
LOG_DAEMON D
LOG_AUTH E
LOG_SYSLOG F
LOG_LPR G
LOG_NEWS H
LOG_UUCP I
LOG_CRON J
LOCAL0-7 Q-X
Which you can then filter from syslog.log using the options in syslog.conf as mentioned in the previous responses.