Skip to content

Commit

Permalink
add note about database name in query log (#1980)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
LinneaAndersson authored and renetapopova committed Nov 26, 2024
1 parent ddb4ef9 commit 87f09e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/ROOT/pages/monitoring/logging.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<none>` if the query cannot be parsed and routed to a database.

| executingUser
| The name of the user executing the query.
Expand Down

0 comments on commit 87f09e4

Please sign in to comment.