Appendix A - Debug logs
There may be times the Snare Support team require debug logs for investigation. Ensure you start a command prompt as Administrator and navigate to the folder where Snare is installed, to retrieve the logs.
To retrieve debug logs for Snare:
> net stop snare
> snaredesktop.exe -c -d9 > mysnare.log 2>&1
Where <mysnare.log
> may be any name given to the log file. Continue to use Snare until you have an error, or enough time for your events to be processed. After this time, enter CTRL-C to end the debug log.
> net start snare
Attach the log to your Snare Support issue.
To retrieve debug logs for Snare as it communicates with the Snare Agent Manager:
> net stop snare
> snaredesktop.exe -c -d SAM:trace > mysnare.log 2>&1
Where <mysnare.log
> may be any name given to the log file. Continue to use Snare until you have an error, or enough time for your events to be processed. After this time, enter CTRL-C to end the debug log.
> net start snare
Attach the log to your Snare Support issue.
Exporting the Configuration File
The Snare configuration file is helpful when logging issues with Snare Support. It reflects the Snare settings you have configured. To write the file contents to a file e.g. <mysnare.inf
>:
> snaredesktop.exe -x mysnare.inf