cancel
Showing results for 
Search instead for 
Did you mean: 

System Logs

panks
Regular Advisor

System Logs

Hi,
There is some problem going on in the system and I want to submitt the system logs.
when I check I found that there are 2 log files one is OLDsyslog.log and other is syslog.log.
Which oen is the system logs in this, that I can utilize to find out what happened with the system.
5 REPLIES
James R. Ferguson
Acclaimed Contributor

Re: System Logs

Hi:

The 'OLDsyslog.log' is the copy of the 'syslog.log' *prior* to a reoobt or *prior* to the last execution of '/sbin/init.d/syslogd'.

Thus, for current messages, see '/var/adm/syslog/syslog.log'.

Regards!

...JRF...
Autocross.US
Trusted Contributor

Re: System Logs

the OLDsyslog.log file is the log from before the last reboot/shutdown. syslog.log is the current log file. Both could be relevant depending on when your issue occurred.
I drive way too fast to worry about calories.
Steven E. Protter
Exalted Contributor

Re: System Logs

Shalom,

Your system rotates two logs. syslog.log is current. You can watch it by tail -f

The OLD file is the last one. Rotation is at boot time.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Johnson Punniyalingam
Honored Contributor

Re: System Logs

>>There is some problem going on in the system and I want to submitt the system logs<<

Yes, You need provide both the
1. OLD.syslog.log & syslog.log file,
2. has you system generated "Crash Dump" .?
if Yes, (ts99 file) under /var/adm/tombstones
3. /etc/shutdownlog
4. /var/opt/resmon/log/event.log
--> for any HW issue,

Thx,
Johnson
Problems are common to all, but attitude makes the difference
Suraj K Sankari
Honored Contributor

Re: System Logs

Hi,
>>2 log files one is OLDsyslog.log and other is syslog.log.

Yes both are system log files when you reboot your machine then your syslog.log become OLDsyslog.log and syslog.log become newly generated from the reboot of the system.

Suraj