To increase or decrease debug level of the anti-malware process:
- Open a command prompt via SSH or through the console.
- Run the following commands to increase or decrease the debug level:
- To increase debug level:
sudo killall –USR1 ds_am (increments +1, up to level 8)
- To decrease debug level:
sudo killall –USR2 ds_am (decrements -1, down to level 0)
- To increase debug level:
- Open /var/log/syslog for the results.
- Reset the debug level to 5 for normal operations.
sudo killall –USR1 ds_am (+1, up to level 8)
sudo killall –USR2 ds_am (-1, down to level 0)For Deep Security 9.5 and above, the AM log is changed from /var/log/messages to /var/opt/ds_agent/diag/ds_am.log. You can use the signals to increase and decrease debug level.
To verify the debug level:
- Open a command prompt via SSH or through the console.
- Run the following command:
tail –f /var/opt/ds_agent/diag/ds_am.log | grep debug_level
The results, similar to the image below, will show the current debug level:
For Deep Security 9.0, it is unnecessary to verify using this way, as the change in the debug level information will automatically appear upon typing the debug command.