Skip to content

Logging

The Easit GO connector for Brilliant uses Logback for logging, Logback is a logging framework that provides a lot of configuration options.

Default logging

When a connector is installed by Easit, logging is activated. By default, a connector writes its logs to a folder called logs and rotates them daily.

In the logs folder you can find multiple files such as *integration.log, *_stderr.log and *_stdout.log. These files contain logging regarding the actual connector, other files in this folder is, for example, the log files for Apache Tomcat.

Customize logging

From time to time, you might have the need to change (for a number of reasons) how and what is written to the logs. This can be done by changing the file log4j.properties in the config folder for the connector.

1
2
3
4
5
6
7
8
    Get-ChildItem -Path 'D:\Easit\BrilliantConnector' -Recurse -Include 'nameoffile.extension' -File

        Directory: D:\Easit\BrilliantConnector\config


        Mode                 LastWriteTime         Length Name
        ----                 -------------         ------ ----
        d-----        2023-09-13     09:59                logback-spring.xml

logback-spring.xml

In this file you can find the logging configuration used by the connector when installed. For a more in depth documentation, please advise the Logback package documentation here.