Find answers to your technical questions and learn how to use our products
Search suggestions:
Find answers to your technical questions and learn how to use our products
Search suggestions:
logv [OPTIONS]...[LOGS...] [-t time]...[[-a]FILTERS]...[-?]
logc [OPTIONS]...[LOGS...] [-t time]...[[-a]FILTERS]... [-?]
logw [OPTIONS]...[LOGS] [[-a]FILTERS]...[-?]
Remove blank lines.
Display the contents of the log. Automatically set if called with logc.
Augment timestamps with time delta between entries displayed.
Output a separator line when the delta between entries is greater than N seconds. The default is one second.
List the names and sizes of the log files.
Reverse the order to display the latest entry first.
Strip off the timestamp and header of each line.
Leave the timestamp and strip off the rest of the header on each line.
Format the timestamp as yyyy/mm/dd HH:MM:SS and strip off the rest of the header on each line.
Watch the log (automatically set if called with logw).
Display the version of the command.
Search only the latest file in the log. The default is all files.
Assume that file is a log file and read input from it. Multiple -lf arguments may be entered.
Look for log files in the directory dir instead of the default directory.
Clear the log files (only logmanager files).
Filter events for a particular day/time pattern with the format of yyyy[mm[dd:[HH[MM[SS[mmm]]]]]]
Filter events for a particular day/time pattern with the format of yyyy[mm[dd:[HH[MM[SS[mmm]]]]]]-yyyy[mm[dd:[HH[MM[SS[mmm]]]]]]
Display today's log.
Display yesterday's log.
Filter events for a specific application or process (i.e., capro). Multiple application patterns may be specified.
Application patterns following the -a are applied to the output of those preceding the -a. Application patterns following the -a are known to be grep patterns.
Assume application filters are grep patterns instead of application names.
Assume application pattern filters are grep patterns and ignore the case of letters.
Display the log using the log types and grep patterns associated with the view VIEWNAME. The built-in views are:
ipevt - List IP events (interfaces up/down, telephone/ endpoint registration/deregistration).
bashhist - Platform command history log.
mst - If enabled via a SAT command, entries to the Communication Manager’s message sequence trace (MST) log can be echoed into the debug trace log as well.
hwerr - The events that go into the Communication Manager’s hardware error and alarm logs. This needs special deciphering by an external tool.
sat - The System Administration and Maintenance activities performed on Communication Manager’s System Access Terminal (SAT).
swerr - The events that go into the Communication Manager’s software error log. This needs special deciphering by an external tool.
kernel - Linux kernel debug messages.
cron - Linux scheduled task log.
Display command option descriptions.
Use logv to merge and edit (vi) the various log files in the system.
Use logc to merge and output (cat) various log files to standard output.
Use logw to watch the requested log file for changes applying the specified filters. Multiple logs can be specified. The logs are merged and sorted by time. Multiple time patterns and time ranges can also be specified.
Log file name |
Description |
all |
Display all possible logs. |
lm |
logmanager debug trace log (default). |
lxboot |
Linux boot message. |
lxsys |
Linux syslog. |
lxsec |
Linux access security log. |
lxwtmp |
Linux login/logout/reboot log. |
lxxfer |
Linux file transfer log. |
wd |
Watchdog logs. |
cmds |
Platform command history log. |
httperr |
HTTP/web server error log. |
httpssl |
HTTP/web secure sockets layer (SSL) request log. |
httpaccess |
HTTP/web access log. |
cmresetart |
Communication Manager restart log (last 16 restarts). |
filesync |
Communication Manager file synchronization log. |
update |
System updates/patches |
ccsppm |
PPM log |
siptrace |
SIP trace log |
ccsmasw |
Core Router trace log. |