railo-context.Component coldbox.system.logging.util.FileRotator
This is a simple file rotator
Constructor Summary | |
---|---|
init()
Constructor. |
Method Summary | |
---|---|
void
|
checkRotation(AbstractAppender appender='')
Checks the log file size. |
string
|
getFileSize(string filename, [string sizeFormat='bytes'])
Get the filesize of a file. |
Methods inherited from class railo-context.Component |
---|
None |
Constructor Detail |
---|
Constructor
Method Detail |
---|
Checks the log file size. If greater than framework's settings, then zip and rotate.
appender
- The appender to rotate withGet the filesize of a file.
filename
sizeFormat
- Available formats: [bytes][kbytes][mbytes][gbytes]