Log4j Settings in Design Time User Interface
From 25.1.1, in the Design Time user interface you can configure Log4j loggers directly from the Design Time user interface.
This improvement allows immediate changes to logging levels for specific classes without restarting or manually editing configuration files.
Capabilities
- Add Logger
- Define a new class name and assign a LogLevel (for example,
DEBUG,INFO,WARN,ERROR).
- Define a new class name and assign a LogLevel (for example,
- Modify Logger
- Update the LogLevel of an existing class logger.
- Delete Logger
- Remove a previously defined logger.
Using Log4j Design Time Loggers
- Navigate to Settings → Interact Settings.
- Click Diagnostics.
- Click Interact Design Time Log4j Settings to inspect log4j settings.
- Select one of the following actions:
- Add Class – Provide the class name and select a LogLevel.
- Edit – Modify the LogLevel for an existing class entry.
- Delete – Remove the logger from the in-memory configuration.
- Save your changes. View the effect immediately in the Design Time Log Viewer.
Important:
- In-Memory Only
- The Log4j settings applied through the user interface are stored only in the server’s in-memory configuration.
- Temporary Configuration
- These settings will be reset when the server restarts or shuts down.
- To make loggers persistent, update the interactDT_log4j.xml file manually on the server.