Views:

To increase or decrease debug level of the anti-malware process:

  1. Open a command prompt via SSH or through the console.
  2. 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)

  3. Open /var/log/syslog for the results.
  4. 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:

  1. Open a command prompt via SSH or through the console.
  2. 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:

    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.