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

Connector for use with SAP ArchiveLink

Platform
OnBase
Product
Connector for use with SAP ArchiveLink
Release
Foundation 22.1
License
Premier
Standard
Essential
ft:lastPublication
2025-12-10T15:06:36.782000
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.

  4. Save the file and restart the application.