Rotate the log file when its size exceeds the specified size.

Synopsis

Declared in <ball_asyncfileobserver.h>

void
rotateOnSize(int size);

Description

Set this async file observer to perform log file rotation when the size of the file exceeds the specified size (in kilobytes). This rule replaces any rotation‐on‐size rule currently in effect. The behavior is undefined unless size > 0.

Parameters

Name

Description

size

maximum log file size in kilobytes before rotation

Created with MrDocs