Home >

LunaSH Command Reference Guide > LunaSH Commands > syslog > syslog show

syslog show

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

Syntax

syslog show [-files]

Parameter 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.

mylunasa6] lunash:>syslog show

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.

Command Result : 0 (Success)
[mylunasa6] lunash:>


[mylunasa6] lunash:>syslog show -file

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                          940  Apr 17 10:33
acpid-2014-04-09               439  Apr 9 2014
anaconda.log                140447  Mar 5 2013
anaconda.syslog              25575  Mar 5 2013
boot.log                         0  Apr 9 2014
btmp                          5760  Apr 2 00:53
btmp-20130516-0402             768  May 15 2013
btmp-2015-04-01               5376  Mar 6 14:38
cron                           456  Apr 29 04:02
cron-2015-04-05               1028  Apr 5 04:02
cron-2015-04-12                912  Apr 12 04:02
cron-2015-04-19                797  Apr 19 04:02
cron-2015-04-26                910  Apr 26 04:02
dmesg                        21618  Apr 17 10:33
faillog                          0  Feb 6 09:45
hsm.log                      50063  Apr 28 19:04
lastlog                      21900  Apr 29 14:36
lost+found                   16384  Mar 5 2013
lunalogs                   1353225  Apr 29 14:52
lunalogs-2015-04-05        2896633  Apr 5 04:02
lunalogs-2015-04-12        2892767  Apr 12 04:01
lunalogs-2015-04-19        2537642  Apr 19 04:01
lunalogs-2015-04-26        2746220  Apr 26 04:01
maillog                          0  Mar 5 2013
messages                   2604899  Apr 29 14:51
messages-2015-04-05        8710648  Apr 5 04:02
messages-2015-04-12        8709357  Apr 12 04:02
messages-2015-04-19        6948162  Apr 19 04:02
messages-2015-04-26        5284444  Apr 26 04:02
ntls_bt_2015-02-06_10_08_34     3112  Feb 6 10:08
ntls_bt_2015-02-06_14_17_11     3112  Feb 6 14:17
prelink                       4096  Mar 6 2013
rpmpkgs                       5719  Apr 29 04:02
rpmpkgs-20130310-0402         4649  Mar 9 2013
rpmpkgs-20130317-0402         4649  Mar 16 2013
rpmpkgs-20130516-0402         4649  Mar 20 2013
rpmpkgs-20130519-0402         4649  May 18 2013
rpmpkgs-2015-04-05            5719  Apr 4 04:02
rpmpkgs-2015-04-12            5719  Apr 11 04:02
rpmpkgs-2015-04-19            5719  Apr 18 04:02
rpmpkgs-2015-04-26            5719  Apr 25 04:02
secure                         248  Apr 29 14:36
secure-2015-04-05             9995  Apr 2 00:53
secure-2015-04-12              362  Apr 6 21:14
secure-2015-04-19             1662  Apr 17 13:36
secure-2015-04-26              720  Apr 20 13:55
spooler                          0  Mar 5 2013
tallylog                         0  Feb 6 09:45
update5_2_6_1.log              828  Feb 17 18:02
update6_0_0_31.log           11131  Feb 6 10:02
update6_0_0_33.log           10615  Feb 17 18:12
wtmp                        173184  Apr 29 14:36  
wtmp-2015-04-23            1061760  Apr 23 03:14  

Command Result : 0 (Success)