Logging

ENVTypeDescriptionDefault Value
ANKA_ACCESS_LOGS(boolean)Enables registry access logsfalse
ANKA_CMD_LOG_MAX_DAYS(int)Number of days to keep cmd logs (0 will use the value in log-max-days)7
ANKA_CMD_LOG_MAX_MB(int)MB limit for cmd log files (0 will use the value in log-max-mb)1024
ANKA_ENABLE_CENTRAL_LOGGING(boolean)Enables central loggingfalse
ANKA_ERROR_LOG_MAX_DAYS(int)Number of days to keep error logs (0 will use the value in log-max-days)3
ANKA_ERROR_LOG_MAX_MB(int)MB limit for error log files (0 will use the value in log-max-mb)200
ANKA_FILES_DIR(string)Dir to store files/files
ANKA_INFO_LOG_MAX_DAYS(int)Number of days to keep info logs (0 will use the value in log-max-days)0
ANKA_INFO_LOG_MAX_MB(int)MB limit for info log files (0 will use the value in log-max-mb)0
ANKA_KEEP_LOGS_FOR(int)The number of days to keep logs7
ANKA_LOG_MAX_DAYS(int)Number of days to keep logs for all log types unless otherwise defined7
ANKA_LOG_MAX_MB(int)MB limit for log files, for all log types unless otherwise defined700
ANKA_LOG_SERVER_BACKEND_TYPE(string)The log server backend type, either ‘disk’ or ‘azure’disk
ANKA_LOG_SERVER_ADDR(string)The address and/or port the registry will send logs to
ANKA_LOGS_DIR(string)Dir to store central log files/central-logs
ANKA_MAX_LOG_SIZE(int)The maximum size for a log file in MB1024
ANKA_ROTATE_LOG_FILES_AT_MAX_FILE_SIZE(boolean)Rotate log files when they reach the size specified in max-log-sizetrue
ANKA_ROTATE_LOG_FILES_END_OF_DAY(boolean)Rotate log files at the end of each dayfalse