To backup and truncate all existing rolling file appenders, use the following rhino-console command or related MBean operation.
Overriding default rollover behaviour
The default behaviour for log files is to automatically rollover when they reach 100MB in size. You can instead request rollover at any time, using the |
Console command: rolloverlogfiles
Command |
rolloverlogfiles Description Triggers a rollover of all existing rolling appenders. |
---|---|
Example |
$ ./rhino-console rolloverLogFiles Done. |