From 87f09e4e55e7e4c17f0688494111b38df22f53ce Mon Sep 17 00:00:00 2001 From: LinneaAndersson Date: Tue, 26 Nov 2024 10:18:38 +0100 Subject: [PATCH] add note about database name in query log (#1980) In order to know which database the query is targeting, we do some parsing to find if there is a USE-clause (e.g. `USE db RETURN 1 AS result`). If the parsing fails, we are not able to figure out what database the query should be run at and therefor the field in the log will be . Please let me know if I can improve the documentation with more details, I just don't want to put information to confuse the user even more. --- modules/ROOT/pages/monitoring/logging.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/monitoring/logging.adoc b/modules/ROOT/pages/monitoring/logging.adoc index 1e0e1a8e9..ab6b5c8b0 100644 --- a/modules/ROOT/pages/monitoring/logging.adoc +++ b/modules/ROOT/pages/monitoring/logging.adoc @@ -1221,7 +1221,7 @@ Included when xref:configuration/configuration-settings.adoc#config_db.logs.quer | Connection details. | database -| The database name on which the query is run. +| The database name on which the query is run. This field will be `` if the query cannot be parsed and routed to a database. | executingUser | The name of the user executing the query.