How to adjust the amount and level of log information for Anti-Spam in SonicWall firewalls
03/26/2020 12 15969
DESCRIPTION: This article describes how to select the level and amount of system report information to be stored in your logs in the Other Settings section of Anti-Spam (CASS 2.0) in SonicWall Firewalls.
Once logged into the Firewall, navigate to the Other Settings section of Anti-Spam | Advanced |Manage button. The Set Log Level dialog displays.
Select the default log level from the Default Log Level drop-down menu; levels are listed from highest to lowest:
NOTE: The higher the default log level, the more events are recorded. For example, the info level also records warn, error and fatal levels.
trace – highest level (Level 1)
debug (Level 2)
info – default (Level 3)
warn (Level 4)
error (Level 5)
fatal – lowest level (Level 6)
All logs adhere to the default level set here unless specifically overridden.
To make changes to the logs in the Overrides section, deselect the Adhere to default level checkbox. All drop-down menus for all service categories become active.
To change the log level for specific services and sub-services. From the Select Log Level drop-down menu for the service/sub-service to be changed, select the desired log level. The levels are the same as for those in Step 2, plus the adhere option.
NOTE: The default log level for all service and sub-service categories is adhere, that is, the log level set by the Default Log Level drop-down menu is used.
Optionally, select the number of log files to retain. By default, Junk Box keeps 3 log files for these services:
When a fourth log file is generated, the oldest log file is discarded, the second oldest becomes the oldest, and the third oldest becomes the second oldest.
You can increase the number of logs kept for a service by selecting a number from the Count drop-down menu for that service:
A lower number of logs saves disk space, but older data may not be available. A larger number of logs retains more data, but takes more disk space.
Optionally, select a size for the service logs (see Step 5) from the Size drop-down menus. The default size of each log is 10 MB.
You can increase the size of the logs, in 10 MB increments, from 10 MB (default) to 100 MB. A smaller log size saves disk space, but larger logs contain more data.
IMPORTANT: Changing the size of a log requires restarting the Tomcat server.
Click Apply Changes to save any changes made.
NOTE: To return the logging level to default value, click the Reset to Defaults button.