Enabling profiling logging

Profiling logging can be used to identify issues with connections. It provides debug level details for each connections as well as the time each step took (e.g. parsing time, scan time, response time). It also tracks the number of active connections.

Warning

Profiling logging is not designed to be constantly enabled. It should only be used for investigating issues for short periods of time.

Keeping it enabled permanently may impact performances. If running for too long, the log file can become huge and significantly reduce the available disk space.

Step-by-step guide

In order to enable profiling logging.

  1. Make sure ICAP is stopped (net stop omsICAP).

  2. Open omsConfig.ini in a text editor.

  3. Add the following in the "icap server" section.
    enable_debug_logging=1

  4. Save and close.

  5. Start ICAP server (net start omsICAP).

In order to disable profiling logging.

  1. Make sure ICAP is stopped (net stop omsICAP).

  2. Open omsConfig.ini in a text editor.

  3. Set the following in the "icap server" section. (You can also completely delete the line)
    enable_debug_logging=0

  4. Save and close.

  5. Start ICAP server (net start omsICAP).

How to read the logs

  1. <Metascan installation directory>\Log\icap_profiling.log.