Click to See Complete Forum and Search --> : Question on logging (not the forest kind)


Etherphyte
01-16-2001, 06:22 PM
Hey gang,
As I have it now, my imapd, ftpd, kernel, and telnetd logs are going to the same file. I would like to set it so the in.telnetd messages go to the log teln, the ftpd messges go to the log ftpd, and the imapd logs go to the file imapd. How do I do this? I would like to keep the kernel logs and the su logs going to where they are now, as well as the xfer log. I just want to change the ones listed above. How do I control the logging?
I am using http://www.linuxnewbie.org/ubb/cool.gif Slackware 7 http://www.linuxnewbie.org/ubb/cool.gif
Thanks,
ad http://www.etherphyte.com

X_console
01-16-2001, 06:28 PM
You want to look at the man pages for syslogd and syslog.conf

Generally all logging is controlled by /etc/syslog.conf After configuring /etc/syslog.conf, make sure you restart syslogd for the changes to take effect: kill -HUP $(cat /var/run/syslogd.pid)