You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current behavior only removes old logs when the running process creates more than the maxFiles limit, leaving older logs from previous runs untouched. As a result, when the server restarts, these old log files remain.
Steps to Reproduce
Set the maxFiles property in access logging.
Restart the server.
Observe that old log files continue to accumulate instead of being removed.
Expected behavior
The system should clean up the log directory after every restart, ensuring that only the specified number of files (as per maxFiles) remain.
This prevents the log directory from growing indefinitely and ensures strict adherence to the configured retention policy.
The text was updated successfully, but these errors were encountered:
Describe the bug
The current behavior only removes old logs when the running process creates more than the maxFiles limit, leaving older logs from previous runs untouched. As a result, when the server restarts, these old log files remain.
Steps to Reproduce
Set the maxFiles property in access logging.
Restart the server.
Observe that old log files continue to accumulate instead of being removed.
Expected behavior
The system should clean up the log directory after every restart, ensuring that only the specified number of files (as per maxFiles) remain.
This prevents the log directory from growing indefinitely and ensures strict adherence to the configured retention policy.
The text was updated successfully, but these errors were encountered: