SLF4J Logger

Content Type: Module
Categories: Tracing

Overview

Java libraries used by modules can generate crucial information for troubleshooting. This module allows to redirect logs generated by SLF4J to a Mendix lognode. The module is using new service binding enabled in SLF4J 2.x release which is incompatible with SLF4J 1.x.

Documentation

FOR COMMUNITY-SUPPORTED CONTENT

Description

Module contains Java classes and actions which allow you to redirect logging produced by SLF4J to Mendix log.

Typical usage scenario

Use this module when your application relies on third party jars which use SLF4J for logging.

Features and limitations

Redirects SLF4J logging for the specified log nodes to Mendix log.

Dependencies 

  • slf4j-api-2.0.5.jar (included)

Installation 

Simply download it from the market place to your application.

Configuration [optional]

Add Java action InitializeLogNode to your after start up microflow passing the name of the log node used by SLF4J logger.

Known bugs

None

Frequently Asked Questions [optional]

  • Q: Do I have to change after start up microflow?
  • A: Yes, if you are using queues and APIs in your application.

 

 

Releases

Version: 1.0.0
Framework Version: 9.19.0
Release Notes: Initial release with SLF4J 2.0.5