Logs reaching 100%

Problem

TigerGraph logging should auto-rotate to prevent filling up the disk space. However, if this isn’t happening for some reason, the logging configuration can be set manually

Error message

If the logs are greater than 100MB in size, 90 days old in age, or 100 in quantity, then log pruning is not working correctly. It will need to be manually set, either to the default options below, or to your desired configuration.

Diagnosis

1.If you find your logging directory getting full, it could be due to misconfigured logging

2.TigerGraph logging should auto-rotate to prevent filling up the disk space. However, if this isn’t happening for some reason, the logging configuration can be set manually.

Workaround

N/A

Solution

From any TigerGraph node, you can run gadmin config entry LogConfig to begin completing the prompts and setting your desired configuration. The values below are the default values:

gadmin config entry LogConfig

Copy Copy to clipboard

Executor.BasicConfig.LogConfig.LogFileMaxSizeMB [ 100 ]: The maximum size in megabytes of the log file before it gets rotated

New: 100

[ Info] no changes for Executor.BasicConfig.LogConfig.LogFileMaxSizeMB

Executor.BasicConfig.LogConfig.LogFileMaxDurationDay [ 90 ]: The maximum number of days to retain old log files based on the timestamp encoded in their filename

New: 90

[ Info] no changes for Executor.BasicConfig.LogConfig.LogFileMaxDurationDay

Executor.BasicConfig.LogConfig.LogRotationFileNumber [ 100 ]: The maximum number of old log files to retain

New: 100

[ Info] no changes for Executor.BasicConfig.LogConfig.LogRotationFileNumber

Executor.BasicConfig.LogConfig.LogLevel [ INFO ]: The log level("DEBUG","INFO","WARN","ERROR","PANIC","FATAL"), default is INFO

New: INFO

[ Info] no changes for Executor.BasicConfig.LogConfig.LogLevel

Informant.BasicConfig.LogConfig.LogFileMaxSizeMB [ 100 ]: The maximum size in megabytes of the log file before it gets rotated

New: 100

[ Info] no changes for Informant.BasicConfig.LogConfig.LogFileMaxSizeMB

Informant.BasicConfig.LogConfig.LogFileMaxDurationDay [ 90 ]: The maximum number of days to retain old log files based on the timestamp encoded in their filename

New: 90

[ Info] no changes for Informant.BasicConfig.LogConfig.LogFileMaxDurationDay

Informant.BasicConfig.LogConfig.LogRotationFileNumber [ 100 ]: The maximum number of old log files to retain

New: 100

[ Info] no changes for Informant.BasicConfig.LogConfig.LogRotationFileNumber

Informant.BasicConfig.LogConfig.LogLevel [ INFO ]: The log level("DEBUG","INFO","WARN","ERROR","PANIC","FATAL"), default is INFO

New: INFO

[ Info] no changes for Informant.BasicConfig.LogConfig.LogLevel

Controller.BasicConfig.LogConfig.LogFileMaxSizeMB [ 100 ]: The maximum size in megabytes of the log file before it gets rotated

New: 100

[ Info] no changes for Controller.BasicConfig.LogConfig.LogFileMaxSizeMB

Controller.BasicConfig.LogConfig.LogFileMaxDurationDay [ 90 ]: The maximum number of days to retain old log files based on the timestamp encoded in their filename

New: 90

[ Info] no changes for Controller.BasicConfig.LogConfig.LogFileMaxDurationDay

Controller.BasicConfig.LogConfig.LogRotationFileNumber [ 100 ]: The maximum number of old log files to retain

New: 100

[ Info] no changes for Controller.BasicConfig.LogConfig.LogRotationFileNumber

Controller.BasicConfig.LogConfig.LogLevel [ INFO ]: The log level("DEBUG","INFO","WARN","ERROR","PANIC","FATAL"), default is INFO

New: INFO

[ Info] no changes for Controller.BasicConfig.LogConfig.LogLevel

GSE.BasicConfig.LogConfig.LogFileMaxSizeMB [ 100 ]: The maximum size in megabytes of the log file before it gets rotated

New: 100

[ Info] no changes for GSE.BasicConfig.LogConfig.LogFileMaxSizeMB

GSE.BasicConfig.LogConfig.LogFileMaxDurationDay [ 90 ]: The maximum number of days to retain old log files based on the timestamp encoded in their filename

New: 90

[ Info] no changes for GSE.BasicConfig.LogConfig.LogFileMaxDurationDay

GSE.BasicConfig.LogConfig.LogRotationFileNumber [ 100 ]: The maximum number of old log files to retain

New: 100

[ Info] no changes for GSE.BasicConfig.LogConfig.LogRotationFileNumber

GSE.BasicConfig.LogConfig.LogLevel [ BRIEF ]: The log level("OFF", "BRIEF", "DEBUG", "VERBOSE"), default is BRIEF

New: BRIEF

[ Info] no changes for GSE.BasicConfig.LogConfig.LogLevel

GPE.BasicConfig.LogConfig.LogFileMaxSizeMB [ 100 ]: The maximum size in megabytes of the log file before it gets rotated

New: 100

[ Info] no changes for GPE.BasicConfig.LogConfig.LogFileMaxSizeMB

GPE.BasicConfig.LogConfig.LogFileMaxDurationDay [ 90 ]: The maximum number of days to retain old log files based on the timestamp encoded in their filename

New: 90

[ Info] no changes for GPE.BasicConfig.LogConfig.LogFileMaxDurationDay

GPE.BasicConfig.LogConfig.LogRotationFileNumber [ 100 ]: The maximum number of old log files to retain

New: 100

[ Info] no changes for GPE.BasicConfig.LogConfig.LogRotationFileNumber

GPE.BasicConfig.LogConfig.LogLevel [ BRIEF ]: The log level("OFF", "BRIEF", "DEBUG", "VERBOSE"), default is BRIEF

New: BRIEF

[ Info] no changes for GPE.BasicConfig.LogConfig.LogLevel

RESTPP.BasicConfig.LogConfig.LogFileMaxSizeMB [ 100 ]: The maximum size in megabytes of the log file before it gets rotated

New: 100

[ Info] no changes for RESTPP.BasicConfig.LogConfig.LogFileMaxSizeMB

RESTPP.BasicConfig.LogConfig.LogFileMaxDurationDay [ 90 ]: The maximum number of days to retain old log files based on the timestamp encoded in their filename

New: 90

[ Info] no changes for RESTPP.BasicConfig.LogConfig.LogFileMaxDurationDay

RESTPP.BasicConfig.LogConfig.LogRotationFileNumber [ 100 ]: The maximum number of old log files to retain

New: 100

[ Info] no changes for RESTPP.BasicConfig.LogConfig.LogRotationFileNumber

RESTPP.BasicConfig.LogConfig.LogLevel [ BRIEF ]: The log level("OFF", "BRIEF", "DEBUG", "VERBOSE"), default is BRIEF

New: BRIEF

[ Info] no changes for RESTPP.BasicConfig.LogConfig.LogLevel

FileLoader.BasicConfig.LogConfig.LogFileMaxSizeMB [ 100 ]: The maximum size in megabytes of the log file before it gets rotated

New: 100

[ Info] no changes for FileLoader.BasicConfig.LogConfig.LogFileMaxSizeMB

FileLoader.BasicConfig.LogConfig.LogFileMaxDurationDay [ 90 ]: The maximum number of days to retain old log files based on the timestamp encoded in their filename

New: 90

[ Info] no changes for FileLoader.BasicConfig.LogConfig.LogFileMaxDurationDay

FileLoader.BasicConfig.LogConfig.LogRotationFileNumber [ 100 ]: The maximum number of old log files to retain

New: 100

[ Info] no changes for FileLoader.BasicConfig.LogConfig.LogRotationFileNumber

FileLoader.BasicConfig.LogConfig.LogLevel [ BRIEF ]: The log level("OFF", "BRIEF", "DEBUG", "VERBOSE"), default is BRIEF

New: BRIEF

[ Info] no changes for FileLoader.BasicConfig.LogConfig.LogLevel

KafkaLoader.BasicConfig.LogConfig.LogFileMaxSizeMB [ 100 ]: The maximum size in megabytes of the log file before it gets rotated

New: 100

[ Info] no changes for KafkaLoader.BasicConfig.LogConfig.LogFileMaxSizeMB

KafkaLoader.BasicConfig.LogConfig.LogFileMaxDurationDay [ 90 ]: The maximum number of days to retain old log files based on the timestamp encoded in their filename

New: 90

[ Info] no changes for KafkaLoader.BasicConfig.LogConfig.LogFileMaxDurationDay

KafkaLoader.BasicConfig.LogConfig.LogRotationFileNumber [ 100 ]: The maximum number of old log files to retain

New: 100

[ Info] no changes for KafkaLoader.BasicConfig.LogConfig.LogRotationFileNumber

KafkaLoader.BasicConfig.LogConfig.LogLevel [ BRIEF ]: The log level("OFF", "BRIEF", "DEBUG", "VERBOSE"), default is BRIEF

New: BRIEF

[ Info] no changes for KafkaLoader.BasicConfig.LogConfig.LogLevel

Nginx.BasicConfig.LogConfig.LogFileMaxSizeMB [ 100 ]: The maximum size in megabytes of the log file before it gets rotated

New: 100

[ Info] no changes for Nginx.BasicConfig.LogConfig.LogFileMaxSizeMB

Nginx.BasicConfig.LogConfig.LogFileMaxDurationDay [ 90 ]: The maximum number of days to retain old log files based on the timestamp encoded in their filename

New: 90

[ Info] no changes for Nginx.BasicConfig.LogConfig.LogFileMaxDurationDay

Nginx.BasicConfig.LogConfig.LogRotationFileNumber [ 100 ]: The maximum number of old log files to retain

New: 100

[ Info] no changes for Nginx.BasicConfig.LogConfig.LogRotationFileNumber

Kafka.BasicConfig.LogConfig.LogLevel [ INFO ]: The log level for kafka ("TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL" "OFF")

New: INFO

[ Info] no changes for Kafka.BasicConfig.LogConfig.LogLevel

Kafka.BasicConfig.LogConfig.LogFileMaxSizeMB [ 100 ]: The maximum size in megabytes of the log file before it gets rotated

New: 100

[ Info] no changes for Kafka.BasicConfig.LogConfig.LogFileMaxSizeMB

Kafka.BasicConfig.LogConfig.LogRotationFileNumber [ 100 ]: The maximum number of old log files to retain

New: 100

[ Info] no changes for Kafka.BasicConfig.LogConfig.LogRotationFileNumber

KafkaStreamLL.BasicConfig.LogConfig.LogLevel [ INFO ]: The log level for Kafka stream LoadingLog ("TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL" "OFF")

New: INFO

[ Info] no changes for KafkaStreamLL.BasicConfig.LogConfig.LogLevel

KafkaStreamLL.BasicConfig.LogConfig.LogFileMaxSizeMB [ 100 ]: The maximum size in megabytes of the log file before it gets rotated

New: 100

[ Info] no changes for KafkaStreamLL.BasicConfig.LogConfig.LogFileMaxSizeMB

KafkaStreamLL.BasicConfig.LogConfig.LogRotationFileNumber [ 100 ]: The maximum number of old log files to retain

New: 100

[ Info] no changes for KafkaStreamLL.BasicConfig.LogConfig.LogRotationFileNumber

KafkaConnect.BasicConfig.LogConfig.LogLevel [ INFO ]: The log level for kafka connect ("TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL" "OFF")

New: INFO

[ Info] no changes for KafkaConnect.BasicConfig.LogConfig.LogLevel

KafkaConnect.BasicConfig.LogConfig.LogFileMaxSizeMB [ 100 ]: The maximum size in megabytes of the log file before it gets rotated

New: 100

[ Info] no changes for KafkaConnect.BasicConfig.LogConfig.LogFileMaxSizeMB

KafkaConnect.BasicConfig.LogConfig.LogRotationFileNumber [ 100 ]: The maximum number of old log files to retain

New: 100

[ Info] no changes for KafkaConnect.BasicConfig.LogConfig.LogRotationFileNumber

GUI.BasicConfig.LogConfig.LogFileMaxSizeMB [ 100 ]: The maximum size in megabytes of the log file before it gets rotated

New: 100

[ Info] no changes for GUI.BasicConfig.LogConfig.LogFileMaxSizeMB

GUI.BasicConfig.LogConfig.LogFileMaxDurationDay [ 90 ]: The maximum number of days to retain old log files based on the timestamp encoded in their filename

New: 90

[ Info] no changes for GUI.BasicConfig.LogConfig.LogFileMaxDurationDay

GUI.BasicConfig.LogConfig.LogRotationFileNumber [ 100 ]: The maximum number of old log files to retain

New: 100

[ Info] no changes for GUI.BasicConfig.LogConfig.LogRotationFileNumber

GUI.BasicConfig.LogConfig.LogLevel [ INFO ]: The log level("DEBUG","INFO","WARN","ERROR","PANIC","FATAL"), default is INFO

New: INFO

[ Info] no changes for GUI.BasicConfig.LogConfig.LogLevel

ZK.BasicConfig.LogConfig.LogFileMaxSizeMB [ 100 ]: The maximum size in megabytes of the log file before it gets rotated

New: 100

[ Info] no changes for ZK.BasicConfig.LogConfig.LogFileMaxSizeMB

ZK.BasicConfig.LogConfig.LogRotationFileNumber [ 100 ]: The maximum number of old log files to retain

New: 100

[ Info] no changes for ZK.BasicConfig.LogConfig.LogRotationFileNumber

ZK.BasicConfig.LogConfig.LogLevel [ INFO ]: The log level for zk ("TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL" "OFF")

New: INFO

[ Info] no changes for ZK.BasicConfig.LogConfig.LogLevel

ETCD.BasicConfig.LogConfig.LogFileMaxSizeMB [ 100 ]: The maximum size in megabytes of the log file before it gets rotated

New: 100

[ Info] no changes for ETCD.BasicConfig.LogConfig.LogFileMaxSizeMB

ETCD.BasicConfig.LogConfig.LogFileMaxDurationDay [ 90 ]: The maximum number of days to retain old log files based on the timestamp encoded in their filename

New: 90

[ Info] no changes for ETCD.BasicConfig.LogConfig.LogFileMaxDurationDay

ETCD.BasicConfig.LogConfig.LogRotationFileNumber [ 100 ]: The maximum number of old log files to retain

New: 100

[ Info] no changes for ETCD.BasicConfig.LogConfig.LogRotationFileNumber

ETCD.BasicConfig.LogConfig.LogLevel [ INFO ]: The log level("DEBUG","INFO","WARN","ERROR","PANIC","FATAL"), default is INFO

New: INFO

[ Info] no changes for ETCD.BasicConfig.LogConfig.LogLevel

GSQL.BasicConfig.LogConfig.LogFileMaxSizeMB [ 100 ]: The maximum size in megabytes of the log file before it gets rotated

New: 100

[ Info] no changes for GSQL.BasicConfig.LogConfig.LogFileMaxSizeMB

GSQL.BasicConfig.LogConfig.LogRotationFileNumber [ 100 ]: The maximum number of old log files to retain

New: 100

[ Info] no changes for GSQL.BasicConfig.LogConfig.LogRotationFileNumber

GSQL.BasicConfig.LogConfig.LogLevel [ INFO ]: GSQL log level: ERROR, INFO, DEBUG

New: INFO

[ Info] no changes for GSQL.BasicConfig.LogConfig.LogLevel

TS3Server.BasicConfig.LogConfig.LogLevel [ INFO ]: The log level("DEBUG","INFO","WARN","ERROR","PANIC","FATAL"), default is INFO

New: INFO

[ Info] no changes for TS3Server.BasicConfig.LogConfig.LogLevel

TS3Server.BasicConfig.LogConfig.LogFileMaxSizeMB [ 100 ]: The maximum size in megabytes of the log file before it gets rotated

New: 100

[ Info] no changes for TS3Server.BasicConfig.LogConfig.LogFileMaxSizeMB

TS3Server.BasicConfig.LogConfig.LogFileMaxDurationDay [ 90 ]: The maximum number of days to retain old log files based on the timestamp encoded in their filename

New: 90

[ Info] no changes for TS3Server.BasicConfig.LogConfig.LogFileMaxDurationDay

TS3Server.BasicConfig.LogConfig.LogRotationFileNumber [ 100 ]: The maximum number of old log files to retain

New: 100

[ Info] no changes for TS3Server.BasicConfig.LogConfig.LogRotationFileNumber

TS3.BasicConfig.LogConfig.LogLevel [ INFO ]: The log level("DEBUG","INFO","WARN","ERROR","PANIC","FATAL"), default is INFO

New: INFO

[ Info] no changes for TS3.BasicConfig.LogConfig.LogLevel

TS3.BasicConfig.LogConfig.LogFileMaxSizeMB [ 100 ]: The maximum size in megabytes of the log file before it gets rotated

New: 100

[ Info] no changes for TS3.BasicConfig.LogConfig.LogFileMaxSizeMB

TS3.BasicConfig.LogConfig.LogFileMaxDurationDay [ 90 ]: The maximum number of days to retain old log files based on the timestamp encoded in their filename

New: 90

[ Info] no changes for TS3.BasicConfig.LogConfig.LogFileMaxDurationDay

TS3.BasicConfig.LogConfig.LogRotationFileNumber [ 100 ]: The maximum number of old log files to retain

New: 100

[ Info] no changes for TS3.BasicConfig.LogConfig.LogRotationFileNumber

Dict.BasicConfig.LogConfig.LogFileMaxSizeMB [ 100 ]: The maximum size in megabytes of the log file before it gets rotated

New: 100

[ Info] no changes for Dict.BasicConfig.LogConfig.LogFileMaxSizeMB

Dict.BasicConfig.LogConfig.LogFileMaxDurationDay [ 90 ]: The maximum number of days to retain old log files based on the timestamp encoded in their filename

New: 90

[ Info] no changes for Dict.BasicConfig.LogConfig.LogFileMaxDurationDay

Dict.BasicConfig.LogConfig.LogRotationFileNumber [ 100 ]: The maximum number of old log files to retain

New: 100

[ Info] no changes for Dict.BasicConfig.LogConfig.LogRotationFileNumber

Admin.BasicConfig.LogConfig.LogFileMaxSizeMB [ 100 ]: The maximum size in megabytes of the log file before it gets rotated

New: 100

[ Info] no changes for Admin.BasicConfig.LogConfig.LogFileMaxSizeMB

Admin.BasicConfig.LogConfig.LogFileMaxDurationDay [ 90 ]: The maximum number of days to retain old log files based on the timestamp encoded in their filename

New: 90

[ Info] no changes for Admin.BasicConfig.LogConfig.LogFileMaxDurationDay

Admin.BasicConfig.LogConfig.LogRotationFileNumber [ 100 ]: The maximum number of old log files to retain

New: 100

[ Info] no changes for Admin.BasicConfig.LogConfig.LogRotationFileNumber

Admin.BasicConfig.LogConfig.LogLevel [ INFO ]: The log level("INFO","WARN","ERROR"), default is INFO

New: INFO

[ Info] no changes for Admin.BasicConfig.LogConfig.LogLevel