Logging

Logging is configured in the "log4net.config" file located in the home directory.

Logging Targets

By default, Tasxs logs to the Windows Event Log and to its own log file located in the configured log directory.

Log Types

By default, only Info up to Fatal events are being logged. The following types are the log level types:

  • Debug
  • Info
  • Warn
  • Error
  • Fatal

To enable debug logging, for all logging targets, set the log level to Debug on the root logger.

  <root>
    <level value="DEBUG" />
    <appender-ref ref="FileAppender" />
    <appender-ref ref="EventLogAppender" />
  </root>

To change the logging level for a specific target,  change levelMin for that target.

Appenders

  • EventLogAppender - Writes logs to the Windows Event Log
  • FileAppender - Writes logs to the Tasxs log file