1827478 Members
2050 Online
109965 Solutions
New Discussion

Linux syslog file(s)

 
SOLVED
Go to solution
Carles Viaplana
Valued Contributor

Linux syslog file(s)

Hello,

I usually works with HP-UX and I don't know too much Linux so I can't find syslog file.

I read some information about there're some syslog files and they should be on /var/log/ directory.

Are syslog files into /var/log/ directory?
How're they called?

Thanks in advance for your help.
Regards,

Carles
4 REPLIES 4
Jeff_Traigle
Honored Contributor
Solution

Re: Linux syslog file(s)

/var/log/messages
--
Jeff Traigle

Re: Linux syslog file(s)

Hi Carles,

As you can see in /etc/syslog.conf, system messages are logged on differents files, depending of their subject.

Systeme messages are typically logged in /var/log/messages.

Regards,
Lionel
Vipulinux
Respected Contributor

Re: Linux syslog file(s)

Hi

If the syslogd daemon is running the syslog file will be created in /var/log directory and is called messeges ie /var/log/messeges

If you cant see the file there do :
service syslogd status and if it is not running do :
service syslogd start

If still file is not there check /etc/syslog.conf to see is the path for syslog file has been changed.

Hope this helps

Cheers
Vipul
Carles Viaplana
Valued Contributor

Re: Linux syslog file(s)

That's just the file I was looking for!