Introduction
application.log file based on specific size limits and file count thresholds using Runtime Custom settings.Environment
Applications hosted in On-Premises
Instructions
To customize log file rotation for on-premises Mendix applications, follow these steps:
Access the application's Runtime Custom settings.
-
Configure the following log file settings:
MaxLogFileSize: Set the maximum size of a log file before it triggers rotation.MaxLogFileCount: Set the maximum number of log files to keep.
Save the configuration changes.
Restart the Mendix application for the changes to take effect.
Outcome
Once configured, when a log file reaches the specified MaxLogFileSize, the system will create a new log file and rotate the old one. The rotation will continue until the MaxLogFileCount is reached, after which the oldest log file will be deleted to make room for new ones.
Internal information related
226850
Additional information
Mendix documentation: Log File Settings
0 Comments