Enabling and configuring log rotation on the engine
Logs related to the pipelines that are executed on the Remote Engine Gen2 are written inside the Livy container /tmp/livy/jobs where the log rotation is disabled by default.
Parameters | Values | Description |
---|---|---|
LIVY_JOB_LOG_PURGE_ENABLE | true or false |
false (default
value): log rotation is disabled. true : enables log rotation |
LIVY_JOB_LOG_RETAIN_DAYS | Integer, the default value is 30 | When log rotation is enabled, logs older than XX (in days) are removed. |
LIVY_JOB_LOG_RETAIN_DISK | Integer, the default value is 1048576 | When log rotation is enabled and the total disk space used by the logs folder is greater than XX (in Bytes) all the existing logs are removed. |