Logging

dataLoader uses Apache log4net as core logging library, and additionally PostSharp Diagnostics for extended Debug logging.

By default, all the logs are stored in a logfile located in 'C:\Users\{USER}\AppData\Local\coolOrange\dataLoader\Logs\dataLoader.log' and it contains only Warning and Errors.
Perhaps you can find backups of previous logfiles in this directory.

The log4net settings file is located in C:\Program Files\coolOrange\dataLoader\dataLoader.log4net.
Further information about log4Net Configurations can be found here.

When to change the logging behavior?

When you have issues or when you want to get a more detailed knowledge about what went wrong, you can increase the loglevel.

When changing the loglevel to DEBUG PostSharp Diagnostics will be enabled and will log all the function calls into the log files. This could cause performance issues

Additionally you can change the logfile location or integrate the logging mechanism into your administrative environment by using build in EventLogMessages etc.

LogFile

You can see, that there are multiple logging-Appenders used. If you want to change the logging level in the logfile, please visit following appender:

<appender name="FileAppender" type="log4net.Appender.RollingFileAppender">
In the lines
<root>
   <level value="ERROR" />
   <appender-ref ref="FileAppender" />
</root>
you can configure the logginglevel. You could set the level value to “DEBUG”, than all the levels between the range Debug and Fatal will be logged.
In the line
<file type="log4net.Util.PatternString"	value="${LOCALAPPDATA}\coolOrange\dataLoader\Logs\dataLoader.log" />
you can configure the outputpath and name of the logfile.