01-05-2004
Who knows syslog?
I've a question to ask:
we can first modify /etc/syslog.conf then "service syslog restart" to make the modification activated. After that, we can use "openlog", "syslog" etc. functions in our program to output the log. My question is, if my program works day and night, the log file may be larger and larger, does syslog supply "log file clean-up" service? Can syslog delete the log file everyday? How can I make the configuration?
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
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)