LogConfig
Synopsis
struct LogConfig {
int *maxRecordCount;
boolean *discardOldest;
boolean *storeStackTrace;
string *timeZoneId;
LogFilter *filter;
}
See also: LogFilter
maxRecordCount
the maximum number of records to store in the buffer
default: 1000
discardOldest
affects the behavior if a new log message is to be added to the buffer in case the buffer is already full (already contains maxRecordCount messages); If true, the oldest message from the buffer is discarded, and the new message is added. If false, the new message will be discarded.
default: true
storeStackTrace
whether or not to store the stack trace of exceptions that are the cause of log messages
default: false
timeZoneId
the time zone ID to use for log message time stamps returned to the client. See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones for a list of supported time zones (column ‘TZ’).
default: UTC
filter
the filter to select the messages to be added to the session-specific log buffer
default: no filter