Skip to main content

Enable detailed logging for the KAFC Web Agent Listener


QAID # 20792 Published

Question / Problem:

Is there a way to enable detailed logging for the KAFC Web Agent (Listener)?

Answer / Solution:

Yes. The Listener configuration file is located in the C:\Program Files\KFX Web Agent folder, and the file containing the configuration is Web.Config.

The regular Listener log, KAFC_Listener.log.0, is by default at INFO level in the following tag:

    <logger name="Log">
        <level value="INFO" />
        <appender-ref ref="Log" />

To enable detailed logging, change INFO to DEBUG.

Also, there are two more logs right below the main Listener log, and these two logs contain detailed information and queries about the database.

Detailed logging is enabled for the KAFC_listener_Core.log.0 and KAFC_listener_InsightDataDB.lo.0 log files by changing the respective level's value from OFF to ON:

<logger name="InsightDataDB">
    <level value="OFF" />
    <appender-ref ref="InsightDataDB" />
<logger name="AltoSoft.Insight.DatabaseManager.SQLQueryExecutor">
    <level value="OFF" />
    <appender-ref ref="Core" />

The Listener logs will contain the data sent by the KAFC Workflow Agent (WFA)

Applies to:

Product Version
KAFC 1.2
  • Was this article helpful?