syslog show

Display the current log rotation configuration and log levels. Optionally, show a list of the log files.

User Privileges

Users with the following privileges can perform this command:

>Admin

>Operator

>Monitor

Syntax

syslog show [-files]

Argument(s) Shortcut Description
-files -f

Show a list of all log files, in addition to the current log configuration.

Example

In the example below, the asterisks indicate that ALL events are logged and that this setting is not user configurable.

lunash:>syslog show -files
 
 
Syslog configuration
 
   Rotations:         4
 
   Rotation Period:   weekly
 
   Log disk full policy:    tarlogs_cleanup
 
Local Configured Log Levels:
----------------------------
lunalogs       info
messages       *
cron           notice
secure         *
boot           *
 
Remote Configured Log Levels:
-----------------------------
lunalogs:
   192.20.11.50        info
messages:
   192.20.11.50        info
cron:
   192.20.11.50        notice
secure:
   192.20.11.50        info
boot:
   192.20.11.50        info
 
 
Note: '*' means all log levels.
 
 
LogFileName                   Size Date Time
-------------------------------------------
acpid                            0  Feb 28 16:59
anaconda                      4096  Dec 15 10:39
audit                         4096  Dec 15 10:53
boot.log                         0  Feb 28 16:59
btmp                             0  Feb 28 16:13
btmp-2017-02-28                384  Feb 28 15:13
cron                          6321  Mar 1 14:01
cron-2017-02-28               4852  Feb 28 16:13
dmesg                        72318  Feb 28 16:00
dmesg.old                    72387  Feb 28 15:08
ksyms                            0  Feb 28 16:59
lastlog                     291416  Mar 1 11:54
lost+found                   16384  Dec 15 10:25
lunalogs                    570795  Mar 1 14:27
maillog                          0  Dec 15 10:36
messages                    258781  Mar 1 14:27
messages-2017-02-28         656831  Feb 28 16:13
mgetty.log                       0  Feb 28 16:59
ntp.log                          0  Feb 28 16:59
rpmpkgs                          0  Feb 28 16:59
secure                       44597  Mar 1 13:56
secure-2017-02-28            13367  Feb 28 16:03
snmpd.log                        0  Feb 28 16:59
spooler                          0  Dec 15 10:36
tallylog                         0  Dec 15 10:34
tuned                         4096  Dec 15 10:53
wtmp                         18048  Mar 1 11:54
yum.log                          0  Dec 15 10:55
 
 
Command Result : 0 (Success)