Scenario: How to change the SonicWall logging levels via ssh using Putty.
App Source: http://www.putty.org
Procedure
** To show a list of available commands hit the tab key on the keyboard --> **
Command Type = log categories
Sub Command Type = logging-level
1. From the default mode enter config mode.
admin@C000000000000> config
config(C000000000000)#
2. Use command Type Log-categories and press the keyboard tab key for options.
Command: log categories
config(C000000000000)# log categories
(config-log-categories)# logging-level (press the keyboard tab key for options)
alert Alert
critical Critical.
debug Debug. (lowest priority)
emergency Emergency. (highest priority)
error Error.
inform Inform.
notice Notice.
warning Warning.
3. Set the Log level. ( here we use log level alert as an example )
Command: logging-level alert
(config-log-categories)# logging-level alert
(config-log-categories)# commit ( type commit to append the running config )
% Applying changes...
(config-log-categories)# end ( type end to exit config mode )
4. Test Config Changes
Command: show log
admin@C000000000000> show log
log categories
global-category-attribute
default-log-email admin@lab.lab
default-alert-email admin@lab.lab
send-to-email-address keep-original
alert-email-address keep-original
priority-level mixed
gui mixed keep-original-redundancy-interval
alert mixed keep-original-redundancy-interval
syslog mixed keep-original-redundancy-interval
email mixed
color keep-original
exit
logging-level alert
exit