How to collect logs in Windows application
- Troubleshooting
- April 28, 2015
- Download as PDF
Description
This article explains how to collect StarWind and Windows logs for troubleshooting, including default log locations, optional debug logging, and Event Viewer system and application logs.
StarWind logs
By default StarWind logs are located here:
C:\Program Files\StarWind Software\StarWind\logsThis folder should be archived before submitting. Usually it is only StarWind log pack that required.
Log Level
Log level should be changed in case of StarWind Support Team request. It can be changed here:
C:\Program Files\StarWind Software\StarWind\StarWind.cfg
<LogLevel value="1"/>
StarWind service should be restarted for changes to take effect.
There is no need changing log level without request from StarWind Support Team. Different log level type can slows down your system and also logs with different log level occupy a lot of space.
Enable Debug Logging
Additonaly, StarWind Support may request the logs taken using the Debugged logging. Below is the screenshot that shows how to enable it.
There is no need enabling Debug Logging without request from StarWind Support Team.
StarWind Console logs
By default StarWind logs are located here:
C:\Users\*username*\AppData\Roaming\StarWind\5\Console\consolelogsThis folder should be archived before submitting.
NOTE: there is no need sending Console logs without request from Support Team.
Windows System & Application logs
Open Event Viewer Console from command prompt or from Run window by running the command eventvwr.
Navigate to Windows Logs > System > Save All Events As.. > .csv format.
Navigate to Windows Logs > Application > Save All Events As.. > .csv format.
Archive and submit.
For quicker and easier log collection from StarWind nodes, use StarWind Log Collector from KB article here.
Conclusion
Proper log collection is essential for effective troubleshooting of StarWind environments. Administrators should collect only the requested log types and avoid changing log levels or enabling debug logging unless instructed by StarWind Support. Logs should be archived and submitted to StarWind Support only as requested, using the default paths or the StarWind Log Collector for convenience.
