Time and Size based Log Rotation
You can combine the time and size-based rotation features to prevent log files from growing too large, while still enforcing periodic rotation. The system first applies the size-based rotation policy, and then applies the time-based policy.
Sample
The following sample rotates the log file every day and whenever the log exceeds 250 MB.