cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
5239
Views
15
Helpful
6
Replies
Highlighted

How to view the Syslog Application logs in CLI

On CallManager 6.1.x, how do we view the Application Logs in the Syslog Viewer using the CLI?  I know how to view the traces but not the Application or System logs in CLI.  My RTMT to a customer is being blocked so I need to use the CLI.  Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Engager

Event Viewer-Application Log = /var/log/active/syslog/CiscoSyslog.*

Event Viewer-System Log = /var/log/active/syslog/messages.*

From CLI:

To list application logs:

file list activelog syslog/CiscoSyslog.* date detail

To list system logs:

file list activelog syslog/messages.* date detail

To view a specific application log:

file view activelog syslog/CiscoSyslog.1

To view a specific system log:

file view activelog syslog/messages.1

http://htluo.blogspot.com

Michael

View solution in original post

6 REPLIES 6
Highlighted
Hall of Fame Cisco Employee

You can't you forcefully need RTMT for that

HTH

java

If this helps, please rate

www.cisco.com/go/pdihelpdesk

HTH

java

if this helps, please rate
Highlighted
Engager

Event Viewer-Application Log = /var/log/active/syslog/CiscoSyslog.*

Event Viewer-System Log = /var/log/active/syslog/messages.*

From CLI:

To list application logs:

file list activelog syslog/CiscoSyslog.* date detail

To list system logs:

file list activelog syslog/messages.* date detail

To view a specific application log:

file view activelog syslog/CiscoSyslog.1

To view a specific system log:

file view activelog syslog/messages.1

http://htluo.blogspot.com

Michael

View solution in original post

Highlighted
Hall of Fame Cisco Employee

I had no idea you could get those via CLI, I'll have to save those commands

java

HTH

java

if this helps, please rate
Highlighted

Great, thanks Michael.  Is there a way that you can do a search for a keyword in the logs without having to look through the entire log?

   Tony

Highlighted

file search activelog syslog/CiscoSyslog.* my-keyword

Michael

http://htluo.blogspot.com

Highlighted

Hi  i have this error:someone have the answer?

a linsencing error occured, if the try again in five minutes; if the problem persist, please please see your log file or system administrator