
io.questdb.site.conf.non_containerized_log.conf Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of questdb Show documentation
Show all versions of questdb Show documentation
QuestDB is high performance SQL time series database
# list of configured writers
writers=file,http.min
#,alert
# file writer
#w.file.class=io.questdb.log.LogFileWriter
#w.file.location=questdb-debug.log
#w.file.level=INFO,ERROR
# rolling file writer, by default rolls daily or 1GB size, keeps files for 1 month
w.file.class=io.questdb.log.LogRollingFileWriter
# QDB_LOG_LOG_DIR environment variable can be used to set ${log.dir} directory
w.file.location=${log.dir}/questdb-rolling.log.${date:yyyyMMdd}
w.file.level=INFO,ERROR
# rollEvery accepts: day, hour, minute, month
w.file.rollEvery=day
# rollSize specifies size at which to roll a new log file: a number followed by k, m, g (KB, MB, GB respectively)
w.file.rollSize=128m
# lifeDuration accepts: a number followed by s, m, h, d, w, M, y for seconds, minutes, hours, etc.
w.file.lifeDuration=1M
# sizeLimit is the max fileSize of the log directory. Follows same format as rollSize
w.file.sizeLimit=1g
# alert
# w.alert.class=io.questdb.log.LogAlertSocketWriter
# w.alert.level=CRITICAL
# w.alert.location=/alert-manager-tpt.json
# w.alert.alertTargets=localhost:9093,209.111.255.57:2468, ... ,localhost:9999
# w.alert.inBufferSize=2M
# w.alert.outBufferSize=4M
# w.alert.reconnectDelay=250 # 1/4th sec (milli precision)
# w.alert.defaultAlertHost=127.0.0.1
# w.alert.defaultAlertPort=9093
# disable logging out of min http server, which is supposed to be used
# for frequent monitoring
w.http.min.class=io.questdb.log.LogConsoleWriter
w.http.min.level=ERROR
w.http.min.scope=http-min-server
© 2015 - 2025 Weber Informatics LLC | Privacy Policy