# Avaya CM - Logs

 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

---

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

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

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

---

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

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

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 \*