To backup and truncate all existing 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 1GB in size. You can instead request rollover at any time, using the |
Console command: rolloverlogfiles
Command |
rolloverlogfiles Rollover all log file |
---|---|
Example |
$ ./rhino-console rolloverLogFiles Done. |
MBean operation: rolloverLogFiles
MBean |
|
---|---|
Rhino operation |
public void rolloverAllLogFiles(); |