logmgr list

Lists the existing logs on the connected units (local and remote units).
Syntax
logmgr list module sub-module severity unit-id
Command Default

Logs are not listed by default.

Parameters
module
Specifies a module or list of modules (separated by commas) for which logs are listed. Enter all to include all modules.
sub-module
Specifies a sub-module or list of sub-modules (separated by commas) for which logs are listed. Enter all if multiple modules are specified. If only a single module is specified, then specify a single sub-module or list of sub-modules (separated by commas) belonging to the module.
severity
Specifies the severity level or list of severity levels (separated by commas) by which logs are listed. Enter all to include all severity levels.
unit-id
Specifies the unit or list of units (separated by commas) for which logs are listed. Enter all to list the logs from all units.
Modes

Privileged EXEC mode

Usage Guidelines

If the logs are generated using the debug commands, you must use the exact module names and sub-module names as listed in the log manager hierarchy.

If the logs are generated using distributed logger (dlogger), the modules and sub-modules must be specified based on the mapping of distributed logger modules to log manager displayed in the show dlogger module filter lm-map command output.

If the unit is not specified, specific logs on the local unit are listed.

The command output lists the logs on units at the time of execution, not on fetched logs.

Examples

The following example displays the list of existing logs on all units.

device# logmgr list all all all all
             Bytes Module/Submodule/Category (high=emerg,alert,crit,err low=warning,notice,info,debug)
UNIT 1
        11070B fi_debug/debug_logs/low
          338B infra/cfg_sync_lib/high
          256B infra/cfg_sync_lib/low
        51944B infra/cfg_sync_proc/low
          456B infra/conf_archive/low
          174B infra/infra_cmn/low
        13872B infra/itc/low
          224B infra/logmgr_proc/high
         4687B infra/logmgr_proc/low
        20695B infra/qos/low
          820B infra/stacking/low
          558B l2/fdb/high
          110B l2/stp/low
         8490B management/aaa/low
          770B management/cfg_par/high
        14059B management/cfg_par/low
         1413B management/clam/high
         8179B management/cli_dict/low
         2147B management/clish/high
         1507B management/clish/low
          238B management/dhcpv4_client/high
        22478B management/dhcpv4_client/low                       
          274B management/fi_syslog/high
         1313B management/fi_syslog/low
          624B management/manager/high
        68088B management/manager/low
          104B management/nms_sub/high
        14075B management/rcm/low
         3276B management/slam/low
          378B management/snmpagentd/low
         1453B management/snmpd_traps/high
         3579B platform/link/low
UNIT 2
         1854B fi_debug/debug_logs/high
        10222B fi_debug/debug_logs/low
          112B infra/cfg_sync_lib/high
        50158B infra/cfg_sync_proc/low
          456B infra/conf_archive/low
          174B infra/infra_cmn/low
        11001B infra/itc/low
          224B infra/logmgr_proc/high
         4271B infra/logmgr_proc/low
        19764B infra/qos/low
         2333B infra/stacking/low
          558B l2/fdb/high
         6636B management/aaa/low
          483B management/cfg_par/high                            
         7595B management/cfg_par/low
         1009B management/clam/high
        13686B management/cli_dict/low
          347B management/dhcpv4_client/high
         7988B management/dhcpv4_client/low
          274B management/fi_syslog/high
         1452B management/fi_syslog/low
          208B management/manager/high
        28644B management/manager/low
         3276B management/slam/low
          189B management/snmpagentd/low
         2608B management/snmpd_traps/high
         3577B platform/link/low
History
Release version Command history
08.0.95 This command was introduced.