Logging
Log publishing and rotation for Imply's distribution of Apache Druid® uses svlogd. The logs are maintained based on the following svlogd configuration:
s100000000
n10
N5
t604800
s100000000
: 100 MB maximum file size at which point the current log file is rotated.n10
: 10 total log files of 100 MB each.N5
: 5 log files to keep at a minimum. This is used if the filesystem is full. At that point, Imply deletes the oldest log file first.t604800
: 604800 seconds (or 7 days) is the maximum amount of time before a log file gets rotated if it hasn't hit the 100 MB file size limit.
You can find the current log files for each service in var/sv/SERVICE_NAME/current
, such as var/sv/broker/current