1833420 Members
3039 Online
110052 Solutions
New Discussion

server logs query

 
Senthil Kumar .A_1
Honored Contributor

server logs query

hello admins
is there any other place i can get old logs about system other than OLDsyslog.log
Let your effort be such, the very words to define it, by a layman - would sound like a "POETRY" ;)
3 REPLIES 3
Pete Randall
Outstanding Contributor

Re: server logs query

Try this:

find /var -name *log*

That should show you all (or nearly all) of the available logs.



Pete

Pete
Graham Cameron_1
Honored Contributor

Re: server logs query

It depends on your setup.
By default, at system boot, a script runs (/sbin/init.d/syslogd) which renames the previous syslog.log to OLDsyslog.log and creates a new empty one.
But there's nothing to stop you modifying this script to save as many previous copies as you like, or whatever else takes your fancy.
You should also look at the config file for syslogd, in /etc/syslog.conf. This also allows you to direct different message types to different destinations.
See "man syslogd" for more info.

-- Graham
Computers make it easier to do a lot of things, but most of the things they make it easier to do don't need to be done.
Sridhar Bhaskarla
Honored Contributor

Re: server logs query

Hi Senthil,

Old logs include /var/adm/syslog/syslog.log, /etc/rc.log, /var/tombstones/ts*, /var/sam/log/samlog, /var/adm/cron/log etc.,

Logs like *tmp, sulog etc are cumulative.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try