opx config log - open-switch/opx-docs GitHub Wiki
opx-config-log — Configure logging and logging levels for different
modules
opx-configure-log [-h,--help]
{enable | disable}
[--module <MODULE>]
[--level <LogLevel>]
[--d]
| 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 |
$ opx-config-log enable --module INTERFACE --level info
$ opx-config-log disable --module INTERFACE --level debug
$ opx-config-log enable --module ROUTE --level debug
$ opx-config-log disable --module ROUTE --level debug
$ opx-config-log enable --module PAS
$ opx-config-log disable --module PAS
To report any OPX software bugs, see Report bugs.