Skip to content

Commit 87f09e4

Browse files
LinneaAnderssonrenetapopova
authored andcommitted
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 <none>. 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.
1 parent ddb4ef9 commit 87f09e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/ROOT/pages/monitoring/logging.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1221,7 +1221,7 @@ Included when xref:configuration/configuration-settings.adoc#config_db.logs.quer
12211221
| Connection details.
12221222

12231223
| database
1224-
| The database name on which the query is run.
1224+
| The database name on which the query is run. This field will be `<none>` if the query cannot be parsed and routed to a database.
12251225

12261226
| executingUser
12271227
| The name of the user executing the query.

0 commit comments

Comments
 (0)