IMPAX 6.5.1 Application Server Knowledge Base > Logging events and problems

Turning on performance logging for a web service

Performance logging tracks the amount of time it takes the Application Server to process web requests. The five levels of performance logging include:

FATAL captures the start and end time of the web service call, and includes the least amount of detail in the log. INFO captures the start and end time of every step of the communication trail, and captures the all the details in the log file. This is the highest level of performance logging and creates extremely large log files.

To turn on performance logging for a web service

  1. Navigate to E:\inetpub\wwwroot.

  2. Double-click the directory for the web service.

    For example, double-click AgfaHC.Pacs.Web.

  3. Open the log4net.config file.

  4. Search for the following section of the code:

    <logger name="PerformanceLogger" additivity="false">     <!-- Levels of performance logging are:     1) OFF - no performance logging     2) FATAL - High level performance logging - least detail     3) ERROR - Medium level performance logging - more detail than the above     4) WARN - Low level performance logging - more detail than the above     5) INFO - Debug level performance logging - lots of detail     -->   <level value="OFF" />   <appender-ref ref="PerformanceRollingFileAppender" /> </logger>

  5. Change the line <level value="OFF" /> to the logging level appropriate for your investigation.

    The level value may be different depending on the logging level that has been set.

  6. Save and close the log4net.config file.

  7. When the investigation is complete, to change the logging level to OFF, repeat steps 3 to 6.


See also


Topic number: 11436

Applies to: IMPAX 6.5.1 Application Server Knowledge Base