You can change the severity setting for individual logs and the systemwide value.
When working with log severities, keep the following in mind:
Example
The following example demonstrates the effects of event category state in regard to using systemwide commands:
host1(config)#run show log config
log destination console severity WARNING
log destination nv-file severity CRITICAL
log destination syslog 10.10.4.240 facility 7 severity DEBUG
no log engineering
log fields timestamp instance no-calling-task
no log here
Warning: Logging to this terminal is disabled
no log severity
category severity verbosity filters notes -------------------- -------- --------- ------- ----- aaaAtm1483Cfg ERROR low aaaEngineGeneral ERROR low aaaServerGeneral ERROR low aaaUserAccess ERROR low addressServerGeneral ERROR low ar1AaaServerGeneral ERROR low atm ERROR low atm1483 ERROR low atmAal5 ERROR low
Notice that the atm event category has a default severity of Error.
host1(config)#log severity warning
host1(config)#run show log config
log destination console severity WARNING
log destination nv-file severity CRITICAL
log destination syslog 10.10.4.240 facility 7 severity DEBUG
no log engineering
log fields timestamp instance no-calling-task
no log here
Warning: Logging to this terminal is disabled
log severity WARNING
category severity verbosity filters notes -------------------- -------- --------- ------- ----- aaaAtm1483Cfg WARNING low 1 aaaEngineGeneral WARNING low 1 aaaServerGeneral WARNING low 1 aaaUserAccess WARNING low 1 addressServerGeneral WARNING low 1 ar1AaaServerGeneral WARNING low 1 atm WARNING low 1 atm1483 WARNING low 1 atmAal5 WARNING low 1
host1(config)#log severity emergency atm
host1(config)#run show log config
log destination console severity WARNING
log destination nv-file severity CRITICAL
log destination syslog 10.10.4.240 facility 7 severity DEBUG
no log engineering
log fields timestamp instance no-calling-task
no log here
Warning: Logging to this terminal is disabled
log severity WARNING
category severity verbosity filters notes -------------------- -------- --------- ------- ----- aaaAtm1483Cfg WARNING low 1 aaaEngineGeneral WARNING low 1 aaaServerGeneral WARNING low 1 aaaUserAccess WARNING low 1 addressServerGeneral WARNING low 1 ar1AaaServerGeneral WARNING low 1 atm EMERGENCY low 2 atm1483 WARNING low 1 atmAal5 WARNING low 1
host1(config)#log severity alert
host1(config)#run show log config
log destination console severity WARNING
log destination nv-file severity CRITICAL
log destination syslog 10.10.4.240 facility 7 severity DEBUG
no log engineering
log fields timestamp instance no-calling-task
no log here
Warning: Logging to this terminal is disabled
log severity ALERT
category severity verbosity filters notes -------------------- -------- --------- ------- ----- aaaAtm1483Cfg ALERT low 1 aaaEngineGeneral ALERT low 1 aaaServerGeneral ALERT low 1 aaaUserAccess ALERT low 1 addressServerGeneral ALERT low 1 ar1AaaServerGeneral ALERT low 1 atm EMERGENCY low 2 atm1483 ALERT low 1 atmAal5 ALERT low 1
Notice that the atm event category that you individually assigned in Step 3 does not change.
host1(config)#log severity off
host1(config)#run show log config
log destination console severity WARNING
log destination nv-file severity CRITICAL
log destination syslog 10.10.4.240 facility 7 severity DEBUG
no log engineering
log fields timestamp instance no-calling-task
no log here
Warning: Logging to this terminal is disabled
log severity OFF
category severity verbosity filters notes -------------------- --------- --------- ------- ----- aaaAtm1483Cfg OFF low 1 aaaEngineGeneral OFF low 1 aaaServerGeneral OFF low 1 aaaUserAccess OFF low 1 addressServerGeneral OFF low 1 ar1AaaServerGeneral OFF low 1 atm EMERGENCY low 2 atm1483 OFF low 1 atmAal5 OFF low 1
Notice that the atm event category does not change.
host1(config)#no log severity atm
host1(config)#run show log config
log destination console severity WARNING
log destination nv-file severity CRITICAL
log destination syslog 10.10.4.240 facility 7 severity DEBUG
no log engineering
log fields timestamp instance no-calling-task
no log here
Warning: Logging to this terminal is disabled
log severity OFF
category severity verbosity filters notes -------------------- -------- --------- ------- ----- aaaAtm1483Cfg OFF low 1 aaaEngineGeneral OFF low 1 aaaServerGeneral OFF low 1 aaaUserAccess OFF low 1 addressServerGeneral OFF low 1 ar1AaaServerGeneral OFF low 1 atm OFF low 1 atm1483 OFF low 1 atmAal5 OFF low 1
Notice that the atm event category follows the systemwide severity level of OFF. The systemwide setting takes precedence over the atm event category default of Error.
host1(config)#no log severity *
Please wait....
host1(config)#run show log config
log destination console severity WARNING
log destination nv-file severity CRITICAL
log destination syslog 10.10.4.240 facility 7 severity DEBUG
no log engineering
log fields timestamp instance no-calling-task
no log here
Warning: Logging to this terminal is disabled
no log severity
category severity verbosity filters notes -------------------- -------- --------- ------- ----- aaaAtm1483Cfg ERROR low aaaEngineGeneral ERROR low aaaServerGeneral ERROR low aaaUserAccess ERROR low addressServerGeneral ERROR low ar1AaaServerGeneral ERROR low atm ERROR low atm1483 ERROR low atmAal5 ERROR low