Configuring Message Logging - IHE - Foundation 23.1 - Foundation 23.1 - Ready - OnBase - Premier - external - Standard - Essential - Premier - Standard - Essential - OnBase/IHE/Foundation-23.1/IHE-Solutions/Installation/Configuring-Logging/Logging-Transaction-Messages/Configuring-Message-Logging - 2023-09-11

IHE Solutions

Platform
OnBase
Product
IHE
Release
Foundation 23.1
License
Premier
Standard
Essential

Detailed information about WCF message logging and configuration can be found on the Microsoft Developer Network (MSDN) site. The following steps describe how to ensure message logging is enabled.

To enable message logging for the IHE Service:

  1. Open the IHE Service configuration file (Hyland.Integrations.IHE.NTService.exe.config).
  2. Under <system.diagnostics>, locate the listener element where name="messages".
  3. Configure the message log name and location by editing the initializeData value for the messages listener.

    For example:

    <add name="messages" type="System.Diagnostics.XmlWriterTraceListener" initializeData="C:\log\Messages.svclog"/>
  4. Under <system.serviceModel>, locate the messageLogging node in <diagnostics>.
  5. Ensure the following are set to true. This is the default value for these settings.
    • logEntireMessage

    • logMalformedMessages

    • logMessagesAtTransportLevel

  6. Set the maxMessagesToLog to the maximum number of messages to allow in the log file. The default value is 500.
    Once a log file reaches this limit, the IHE Service stops logging messages to the file. See Maintaining Message Logs.
  7. Save the configuration file.