LOG_ROTATE_EVENTS
Lists the rotation events from do_logrotate_local.
Lists the rotation events from DO_LOGROTATE_LOCAL.
Column Name | Data Type | Description |
---|---|---|
NODE_NAME |
VARCHAR | The name of the node from which logs were rotated. |
SUCCESS |
BOOLEAN | Whether the call to DO_LOGROTATE_LOCAL succeeded. |
MAX_SIZE |
INTEGER | The size, in bytes, set for LogRotateMaxSize. |
MAX_AGE |
INTEGER | The age, in days, set for LogRotateMaxAge. |
LOG_FILE |
VARCHAR | The path of the original log file. |
NEED_ROTATION |
BOOLEAN |
Whether the LOG_FILE needed to be rotated. |
MESSAGE |
VARCHAR |
The actions performed by DO_LOGROTATE_LOCAL for LOG_FILE . |
Example
To view all successful rotation events: