QuestDB log provides database information. This page presents log level, their details, and where to configure and find the log.
QuestDB creates the following file structure in its root_directory:
Log files are stored in the
QuestDB log provides the following types of log information:
|Advisory||A||Startup information such as hosts, listening ports, etc. Rarely used after startup||Enabled|
|Critical||C||Internal database errors. Serious issues. Things that should not happen in general operation.||Enabled|
|Error||E||An error, usually (but not always) caused by a user action such as inserting a ||Enabled|
|Info||I||Logs for activities. Info-level messages often provide context for an error if one is logged later.||Enabled|
|Debug||D||Finer details on what is happening. Useful to debug issues.||Disabled|
For more information, see the source code on GH.
The below is some examples of log messages by type.
QuestDB logging can be configured globally to
DEBUG via either providing
the java option
-Debug or setting the environment variable
QDB_DEBUG=true. See reference manual for details on logging configuration.