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:
Access the Device
Go to the device (e.g., Desktop-gp1exx) and open Run by pressingWin + R
.Stop the Saner Agent Service
Typeservices.msc
in the Run dialog and press Enter.
In the Services window, locate and stop the SecPod Saner Agent service.Edit the Saner Configuration File
Navigate to the directory:C:\Program Files (x86)\SecPod Saner\conf
Open thesaner.ini
file with a text editor and change the following line:Log Level=<desired log level>
Set the value todebug
, so it becomes:Log Level=debug
Save the file.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:
Access the Device
Go to the device (e.g., CentOS-test) and open a Terminal.Stop the Saner Agent Service
Run the following command to stop the SecPod Saner Agent service:service spsaner stop
Edit the Saner Configuration File
Navigate to the directory:/etc/saner/
Open thesaner.ini
file with a text editor and change the following line:Log Level=<desired log level>
Set the value todebug
, so it becomes:Log Level=debug
Save the file.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:
Access the Device
Go to the device (e.g., Mac-test) and open Terminal.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
Edit the Saner Configuration File
Navigate to the directory:/etc/saner/
Open thesaner.ini
file with a text editor and change the following line:LogLevel=<desired log level>
Set the value todebug
, so it becomes:LogLevel=debug
Save the file.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
Feedback sent
We appreciate your effort and will try to fix the article