where are all the logfiles stored in linux?

February 23, 2011 at 08:11:33
Specs: linux 5
where?in which directory all the log files are stored? is there only one log file for all the processes in linux? please help me out as i am doing a project where i retrieve the log file and search for the service/process crash.

thanks


See More: where are all the logfiles stored in linux?

Report •

#1
February 23, 2011 at 13:12:35
Logs are the result of someone telling them to be created and where to put them.

Normally /var but it depends on your distro and what app you need to create a log on.

"The era of big government is over," said Clinton 1996


Report •

#2
February 23, 2011 at 20:36:39
hi jefro

Do u have any idea where the log files of different linux services like...httpd,mysqld,ftp,telnet...etc are stored on the server? please reply asap.

thanks :)


Report •

#3
February 23, 2011 at 23:33:22
/var/log and it's subdirectories.

Report •

Related Solutions

#4
February 24, 2011 at 06:06:42
Depending on your distro.. Mostly under /var/ and /var/log/
A lot of services have their own log locations too which can be altered in their config files. Check their man files or the config file itself (a lot of linux config files are well documented in comments).

Report •

#5
February 24, 2011 at 09:40:28
thanks :) but is it programatically possible to check for the failure/crash in the log files of the services/process using a program in java? pl reply asap


thanks


Report •

Ask Question