You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rafiss opened this issue
May 4, 2021
· 3 comments
· Fixed by #64894
Labels
A-loggingIn and around the logging infrastructure.C-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
I started a single node with --vmodule=exec_log=2 as described in the docs on logging. The resulting logs do not show the query string. In 20.2 and earlier, I used to be able to see the query string, which is useful for debugging.
To Reproduce
Start a fresh single-node cluster with ./cockroach start-single-node --insecure --cache=25% --max-sql-memory=25% --store=store --advertise-addr=localhost --http-addr :8081 --logtostderr --vmodule=exec_log=2 2> stderr.log
The text was updated successfully, but these errors were encountered:
rafiss
added
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
A-logging
In and around the logging infrastructure.
labels
May 4, 2021
i'm asking other stakeholders about that, but i am defaulting to "no" because there is a workaround by setting sql.log.unstructured_entries.enabled = true. but it still should be backported to release-21.1 later
A-loggingIn and around the logging infrastructure.C-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
Describe the problem
I started a single node with
--vmodule=exec_log=2
as described in the docs on logging. The resulting logs do not show the query string. In 20.2 and earlier, I used to be able to see the query string, which is useful for debugging.To Reproduce
./cockroach start-single-node --insecure --cache=25% --max-sql-memory=25% --store=store --advertise-addr=localhost --http-addr :8081 --logtostderr --vmodule=exec_log=2 2> stderr.log
SELECT 1;
sql/exec_log.go
The lines are in the format:
Expected behavior
The SQL query strings should be logged.
If I set
sql.log.unstructured_entries.enabled = true
then the old exec log format is used and I see the query strings.Environment:
Context:
filed this issue upon @knz request
The text was updated successfully, but these errors were encountered: