02-12-2008
syslog
I have the program that prints to STDOUT some debug info. I need to run this program like daemon (with the help of nohup). To see debug info I need to add strings from STDOUT to syslog, i.e. ./program | ./to-syslog some-regexp-to-filter-input.
The question is are there some standard solutions for this problem?
2 More Discussions You Might Find Interesting
1. Solaris
Hi Community
Which are the available entries to forward syslog in syslog.conf
i have put
*.err;kern.debug;daemon.notice;mail.crit;user.alert;user.emerg;kern.notice;auth.notice;kern.warning @172.16.200.50
and it's not going through.giving error message like below:
syslogd:... (2 Replies)
Discussion started by: bentech4u
2 Replies
2. AIX
Hi everyone,
I am trying to configure AIX 6.1 using syslogd to send syslog event to syslog server configured on RHEL. However, RHEL never receives the events.
I have tried to redirect the syslog event on AIX to a local file and successful. Only forwarding to remote server fails.
Firewall... (10 Replies)
Discussion started by: michael_hoang
10 Replies
LEARN ABOUT OPENDARWIN
syslog
SYSLOG(8) System Logging SYSLOG(8)
NAME
syslog-ng, syslogd
DESCRIPTION
There are different syslog daemon implementations supported as the system's syslog service, currently syslogd, syslog-ng and rsyslogd
The first installed daemon activates itself for the syslog service. Starting with openSUSE-11.2, it is rsyslogd, before it was syslog-ng.
But this depends on the software selection during the installation.
The name of the daemon used as syslog service is specified in the
SYSLOG_DAEMON variable in /etc/sysconfig/syslog.
The yast2 sysconfig module provides a comfortable way to switch to another installed daemon and restart the service.
The /etc/init.d/syslog init script is able to handle all supported daemons.
BUGS
Please report bugs at <http://www.suse.de/feedback>
AUTHOR
Juergen Weigert <jw@novell.com>
Marius Tomaschewski <mt@novell.com>
SEE ALSO
sysklogd(8) syslogd(8) syslog.conf(5) syslog-ng(8) syslog-ng.conf(5) rsyslogd(8) rsyslog.conf(5)
syslog May 2008 SYSLOG(8)