show logging

To display the state of system logging (syslog) and the contents of the standard system logging buffer, use the show logging command in the EXEC mode.

show logging {application [application-name]} {internal} {system} |

Syntax Description

show logging

The command to display system logging information.

application

Displays application logs.

application-name—Application name. Supports up to 255 alphanumeric characters.

 – tail—Tail system syslog messages.

 – count—Tail last count messages. From 0 to 4,294,967,295.

|—Output modifier variables (see below).

internal

Displays the syslogs configuration.

system

Displays the system syslogs.

|

Output modifier variables:

 • begin—Matched pattern. Supports up to 80 alphanumeric characters.

 • count—Count the number of lines in the output. Add number after the word count.

 • end—End with line that matches. Supports up to 80 alphanumeric characters.

 • exclude—Exclude lines that match. Supports up to 80 alphanumeric characters.

 • include—Include lines that match. Supports up to 80 alphanumeric characters.

 • last—Display last few lines of output. Add number after the word last. Supports up to 80 lines to display. Default 10.

Defaults

No default behavior or values.

Command Modes

EXEC

Usage Guidelines

This command displays the state of syslog error and event logging, including host addresses, and for which, logging destinations (console, monitor, buffer, or host) logging is enabled.

Examples

Example 1

/admin# show logging system

ADEOS Platform log:

-----------------

 

Apr 18 11:03:57 localhost debugd[1756]: [2170]: config:network: main.c[252] [setup]: Setup is complete

Apr 18 14:04:13 localhost debugd[1756]: [3005]: application:install cars_install.c[245] [setup]: Install initiated with bundle - cda.tar.gz, r

epo - SystemDefaultPkgRepos

Apr 18 14:04:13 localhost debugd[1756]: [3005]: application:install cars_install.c[259] [setup]: Stage area - /storeddata/Installing/.13347470

53

Apr 18 14:04:13 localhost debugd[1756]: [3005]: application:install cars_install.c[263] [setup]: Getting bundle to local machine

Apr 18 14:04:13 localhost debugd[1756]: [3005]: transfer: cars_xfer.c[58] [setup]: local copy in of cda.tar.gz requested

Apr 18 14:04:15 localhost debugd[1756]: [3005]: application:install cars_install.c[272] [setup]: Got bundle at - /storeddata/Installing/.13347

47053/cda.tar.gz

Apr 18 14:04:15 localhost debugd[1756]: [3005]: application:install cars_install.c[282] [setup]: Unbundling package cda.tar.gz

Apr 18 14:04:22 localhost debugd[1756]: [3005]: application:install cars_install.c[294] [setup]: Unbundling done. Verifying input parameters..

.

Apr 18 14:04:22 localhost debugd[1756]: [3005]: application:install cars_install.c[316] [setup]: Manifest file is at - /storeddata/Installing/

.1334747053/manifest.xml

Apr 18 14:04:22 localhost debugd[1756]: [3005]: application:install cars_install.c[326] [setup]: Manifest file appname - cda

Apr 18 14:04:22 localhost debugd[1756]: [3005]: application:install cars_install.c[389] [setup]: Manifest file pkgtype - CARS

Apr 18 14:04:22 localhost debugd[1756]: [3005]: application:install cars_install.c[401] [setup]: Verify dependency list -

Apr 18 14:04:22 localhost debugd[1756]: [3005]: application:install cars_install.c[413] [setup]: Verify app license -

Apr 18 14:04:22 localhost debugd[1756]: [3005]: application:install cars_install.c[423] [setup]: Verify app RPM's

Apr 18 14:04:22 localhost debugd[1756]: [3005]: application:install cars_install.c[431] [setup]: No of RPM's - 1

Apr 18 14:04:22 localhost debugd[1756]: [3005]: application:install cars_install.c[442] [setup]: Disk - 50

Apr 18 14:04:22 localhost debugd[1756]: [3005]: application:install ci_util.c[325] [setup]: Disk requested = 51200 KB

Apr 18 14:04:22 localhost debugd[1756]: [3005]: application:install ci_util.c[345] [setup]: More disk found Free = 211595264, req_disk = 51200

Apr 18 14:04:22 localhost debugd[1756]: [3005]: application:install cars_install.c[453] [setup]: Mem requested by app - 100

Apr 18 14:04:22 localhost debugd[1756]: [3005]: application:install ci_util.c[369] [setup]: Mem requested = 102400

Apr 18 14:04:22 localhost debugd[1756]: [3005]: application:install ci_util.c[384] [setup]: Found MemFree = MemFree: 1284664 kB

Apr 18 14:04:22 localhost debugd[1756]: [3005]: application:install ci_util.c[390] [setup]: Found MemFree value = 1284664

Apr 18 14:04:22 localhost debugd[1756]: [3005]: application:install ci_util.c[393] [setup]: Found Inactive = Inactive: 1361456 kB

Apr 18 14:04:22 localhost debugd[1756]: [3005]: application:install ci_util.c[399] [setup]: Found Inactive MemFree value = 1361456

Apr 18 14:04:22 localhost debugd[1756]: [3005]: application:install ci_util.c[409] [setup]: Sufficient mem found

Apr 18 14:04:22 localhost debugd[1756]: [3005]: application:install ci_util.c[415] [setup]: Done checking memory...

Apr 18 14:04:22 localhost debugd[1756]: [3005]: application:install cars_install.c[475] [setup]: Verifying RPM's...

--More--

(press Spacebar to continue)

/admin#

Example 2

/admin# show logging internal

 

log server: localhost

Global loglevel: 6

Status: Enabled

/admin#

Example 3

/admin# show logging internal

 

log server: localhost

Global loglevel: 6

Status: Disabled

/admin#