syslog show

Display the current log rotation configuration, and show the configured 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]

Option Shortcut Description
-files -f

Binary option.
If this option is present, a list of all log files is presented.
If this option is absent, then a summary of log configuration is shown, without the file list.

Example

In the example below, the asterisk beside the "hsm" entry indicates that ALL HSM events get 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
 
Configured Log Levels:
----------------------------
syslog:    *
lunalogs:  info
hsm:       *
secure:    *
cron:      notice
boot:      *
 
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)