Log rotation not occurring immediately after reaching threshold

Symptom

Log rotation does not occur immediately after the maximum file size for the log file is reached.

Cause

The log rotation checks the size of the file on the first minute of every hour. If the maximum file size is reached in the meantime, the log rotation does not occur until the next hourly check of the file size.

Action
Log rotation is working as designed. The log rotation feature is designed to check the file size on an hourly basis.