# Avaya CM Error Log

15.2. Examine the logs   
Change directories to /var/log/ecs. Run the ls –ltr command from the Linux shell or   
the CLI to see a list of all the log files in that directory. The files are named with the time   
stamp of when the logs began. Use this information to determine which log contains   
information on the reset

\# from logfiles get EIP address  
\[root@s8700 ecs\]# cd /var/log/ecs  
\[root@s8700 ecs\]# grep EIP 2006-07\* to search by date

  
\*\*\*FIND Log with word interchange\*\*\*  
grep "Interchange" 2011-08\* | less

grep -i "FILESYNC" 2011-1114\*.log|more

more 2019-0107-081018.log | grep interchange -B20

LOGC Logs to show lines before and after grep

logc -r | grep 20191231 | grep interchange -B 30 -A 30

  
dhelp logc to display logc help

  
LOGC to view IP events

&gt; logc -r --view ipevt -t 20191231:2000-20191231:2030   
logc --view ipevt -t 20170501:0830-20170505:1000

  
restartcauses &lt;-- to view restart causes on linux CM.

logc -r --view ipevt | grep 4104176

grep -i "Interchange" 2020-1230-21\*.log|more  
2020-1230-215601.log:20201230:215638241:-1395161647:Arbiter(2677):MED:\[HANDOFF-&gt;STANDBY:inter  
change to healthier side\]

more 2020-1230-215601.log | grep interchange -B30 -A30

  
======================================= messages log ===========================

/var/log/

grep 1228078 messages

grep -wc IPT\_UNREG messages  
2542

tac messages | IPEVT (to display message log in reverse order

  
/var/log  
grep 1228078 \*