Skip to main content

Log buffer size

default 32768
The maximum number of log entries to keep in memory. This buffer is used for all log messages, including those sent by agents. Note that the Coral console log view for an agent only applies a filter to the log buffer, so, if you desire 1000 log entries per agent, the buffer must be 1000 x number of agents + extra for system log entries. Consider adjusting this value only after you experience loss of log entries in the Coral console.

Max replay

default 2048
The maximum number of log entries that will be sent to a new subscriber. Note that opening a Coral console agent log view counts as a new subscription; this value caps the number of messages that appear in that view.

Console log level

default INFO
The maximum log level that will be printed to the server’s console. Valid values, in order of increasing verbosity:
  • ERROR
  • WARN
  • INFO
  • DEBUG
  • TRACE

File log level

default INFO
The maximum log level that will be printed to the disk. Note enable file logging must be true to write any messages to disk. Valid values, in order of increasing verbosity:
  • ERROR
  • WARN
  • INFO
  • DEBUG
  • TRACE

Enable file logging

default true
If this is true, log messages will be written to a file on disk. The directory, number of log files, log file size and other file logging options are further configurable using:

Log files directory

default ${HOME}/.coral/logs
The directory where log files will be written. Note that the full path to a given log file may be different from the value of this setting, see:

Log file name

default ${logFilesDirectory}/server.log
The full path to the log file. Read more here.

Log file name pattern

default ${logFilesDirectory}/archive/%d{yyyy/MM, aux}/%d{yyyy-MM-dd}.%i.log.gz
The pattern for archived log files. Read more here.

Max history

default 12
The maximum number of archived log files to keep. Read more here.

Log total size cap

default 3GB
The maximum total size of all archived log files. Read more here.

Clear log files on server start

default false
If this is true, archived log files that are configured to be deleted will be deleted when the server starts. Read more here.

Max file size

default 10MB
The maximum size of the current log file; when the current log file hits this size, the log file will be archived. Read more here.