Change default log files location
iQSonar default location to store the Target and Service log files is on "C:\ProgramData\iQuate\iQSonar4.0\Logs\".Â
iQSonar use two types of logs, Service logs and Target logs and both can be set individually aka have different or same location.
Follow the below guide to set desired location. Â
 Step-by-step guide
- Locate "iQuate.iQSonar.ScanEngine.exe.Config" config file located in "C:\Program Files\iQuate\iQSonar ScanEngine 4.0\bin" and open it in Notepad.
- Navigate to Log4net as shown below and adjust the part marked in bold to desired destination. NOTE: This is to set new location only for Service logs.
- <log4net>
<appender name="LogFileAppender" type="log4net.Appender.RollingFileAppender">
<param name="file" value="C:\ProgramData\iQuate\iQSonar4.0\Logs\\Service.log"/> - To adjust the location where ScanEngine will save Target logs navigate to:Â NOTE: This is to set new location only for Target Logs.
- <param name="directory" value="C:\ProgramData\iQuate\iQSonar4.0\Logs\"/>
- Set desired location and save the file.
- For this change ScanEngine service does not need to be restarted as it will pick up the change on the fly.
Â