How to change the log level to Debug mode on SanerNow?

Modified on Sun, 16 Mar at 4:41 PM

This article outlines the steps to change the log level to Debug mode on Saner CVEM for different operating systems (Windows, Linux, and macOS).


For Windows:

  1. Access the Device
    Go to the device (e.g., Desktop-gp1exx) and open Run by pressing Win + R.

  2. Stop the Saner Agent Service
    Type services.msc in the Run dialog and press Enter.
    In the Services window, locate and stop the SecPod Saner Agent service.

  3. Edit the Saner Configuration File
    Navigate to the directory:
    C:\Program Files (x86)\SecPod Saner\conf
    Open the saner.ini file with a text editor and change the following line:
    Log Level=<desired log level>
    Set the value to debug, so it becomes:
    Log Level=debug
    Save the file.

  4. Restart the Saner Agent Service
    Go back to the Services window, and start the SecPod Saner Agent service again.

Note:
The spsaneragent.log file can be found at:
C:\Program Files (x86)\SecPod Saner\logs\


For Linux:

  1. Access the Device
    Go to the device (e.g., CentOS-test) and open a Terminal.

  2. Stop the Saner Agent Service
    Run the following command to stop the SecPod Saner Agent service:

    service spsaner stop
    
  3. Edit the Saner Configuration File
    Navigate to the directory:
    /etc/saner/
    Open the saner.ini file with a text editor and change the following line:
    Log Level=<desired log level>
    Set the value to debug, so it becomes:
    Log Level=debug
    Save the file.

  4. Restart the Saner Agent Service
    Run the following command to restart the SecPod Saner Agent service:

    service spsaner start
    

Note:
The spsaneragent.log file can be found at:
/var/log/saner


For macOS:

  1. Access the Device
    Go to the device (e.g., Mac-test) and open Terminal.

  2. Stop the Saner Agent Service
    Run the following command to stop the SecPod Saner Agent service:

    /bin/launchctl unload /Library/LaunchDaemons/com.secpod.pkg.saner.plist
    
  3. Edit the Saner Configuration File
    Navigate to the directory:
    /etc/saner/
    Open the saner.ini file with a text editor and change the following line:
    LogLevel=<desired log level>
    Set the value to debug, so it becomes:
    LogLevel=debug
    Save the file.

  4. Restart the Saner Agent Service
    Run the following command to restart the SecPod Saner Agent service:

    /bin/launchctl load /Library/LaunchDaemons/com.secpod.pkg.saner.plist
    

Note:
The spsaneragent.log file can be found at:
/var/log/saner


By following these steps for your respective operating system, you can easily change the log level to Debug mode on SanerNow and access more detailed logs for troubleshooting.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article