Skip to content

opx config log

Amy Buck edited this page Feb 21, 2019 · 22 revisions

COMMAND

opx-config-log — Configure logging and logging levels for different modules

SYNOPSIS

opx-configure-log [-h,--help] 
{enable | disable} 
[--module <MODULE>] 
[--level <LogLevel>] 
[--d]

OPTIONS

Option Description
-h,--help Displays help text
enable Enables logging for a module
disable Disables logging for a module
--module <MODULE> Enables/disables logging for a module; list of modules: INTERFACE, ROUTE, NBR_MGR, L2MAC, NAS_L2, SYSTEM, NAS_OS, NETLICAST_SNOOP, QOS, NDI, CPS-EVT, DSAPI, CPS, PAS, NAS_COM, BOARD, ACL
--level <LogLevel> Enables/disables logging for a module with the log-level; all levels are enabled if the level argument is not specified; list of log-levels: info, notice, warning, critical, error, debug, emerg, alert
--d Displays the logging modules enabled/disabled and the log-level information

EXAMPLE

Interface logging

$ opx-config-log enable --module INTERFACE --level info
$ opx-config-log disable --module INTERFACE --level debug

Route logging

$ opx-config-log enable --module ROUTE --level debug
$ opx-config-log disable --module ROUTE --level debug

Module logging

$ opx-config-log enable --module PAS
$ opx-config-log disable --module PAS

REPORT BUGS

To report any OPX software bugs, see Report bugs.

SEE ALSO

opx-show-log

Clone this wiki locally