LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   what happened with syslog.conf? (https://www.linuxquestions.org/questions/linux-newbie-8/what-happened-with-syslog-conf-827297/)

professorgenival 08-19-2010 02:32 PM

what happened with syslog.conf?
 
HI everyone... I'm reading about how to set log options and I can't find
/etc/syslog.conf????

I'm using fedora12 , ubutnu 10.04 and suse 11.2.

And Can't find syslog.conf anywhere.. :-)

Thanks in advance

xeleema 08-19-2010 03:02 PM

You might want to try looking for syslog-ng.conf.
If anything the following command should help out;

find /etc -type f -name "syslog*.conf" 2>/dev/null

If that doesn't work, find out what syslog daemon you're using
(there's "syslog", "syslog-ng")

ps -ef | grep syslog

Maybe check the manual page;

man syslog

ZAMO 08-19-2010 03:03 PM

I am unaware of Fedora12. But I would do a search like this to locate the file.

find /etc -iname "*syslog*"

Or

find /etc -iname "*.conf " -exec grep syslog {} \;

professorgenival 08-19-2010 03:11 PM

I think that I found the answer :-)

The new syslog.conf now is /etc/rsyslog.conf :-)

http://www.linuxhomenetworking.com/w...ux_with_syslog


All times are GMT -5. The time now is 03:22 PM.