Creating Log Files - Creating Log Files - OnBase - Connector for use with SAP ArchiveLink - OnBase/Connector-for-use-with-SAP-ArchiveLink/Foundation-23.1/Connector-for-use-with-SAP-ArchiveLink/Installation/Installation/Hyland.Logging/Creating-Log-Files - Foundation 23.1 - Foundation 23.1

Connector for use with SAP ArchiveLink

Platform
OnBase
Product
Connector for use with SAP ArchiveLink
Release
Foundation 23.1
License
Premier
Standard
Essential
ft:lastPublication
2025-12-10T15:07:47.183000
ft:locale
en-US

Routes can be configured to write logs to separate external .json files. These files can later be opened for viewing in the Diagnostics Console or in a text editor such as Notepad.

To configure logs to be written to files in the .config file of the application:

  1. Open the .config file.
  2. Locate the Hyland.Logging section of the file.
  3. In Route sub-section for the diagnostics route you want to configure, enter the following tag:
    <add key="File" value="FILEPATH"/>

    For FILEPATH, enter the full file path for the log file, including the name of the file you want the log to be saved as. This file must be a .json file. For example, <add key="File" value="C:\Users\jsmith\Desktop\log.json" /> would write the logs to a log.json in that directory.

    Additional keys that can be used in the file: "OutputFormat", "FileRollInterval", "FileRollOnSize", "FileCountLimit", "FileByteLimit". For example, this is how a tag will all keys could look like:
    <add key="File" value="C:\HylandLogs\log.json"/>
    <add key="OutputFormat" value="JSON"/>
    <add key="FileRollOnSize" value="true"/>
    <add key="FileRollInterval" value="Infinite"/>
    <add key="FileCountLimit" value="31"/>
    <add key="FileByteLimit" value="1073741824"/>
  4. Save the file and restart the application.