← All tools
Log Rotation Planner
Generate a validated logrotate stanza and explore operational and storage tradeoffs. Nothing is executed or uploaded.
Planning aid: verify paths, service behavior, and your installed logrotate version before deployment. Preview with
logrotate --debug on the target host.Rotation configuration
Shell expansion is never performed. Optional glob syntax is separately controlled below.
0 disables the size threshold.
0 omits maxage.
Options
Executed by logrotate through a shell. Leave blank unless the writer must reopen its log.
Shell execution warning: postrotate content is a shell program. This builder rejects newlines and control characters, but cannot make an arbitrary command safe. Do not use untrusted values.