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
Copy file name to clipboardExpand all lines: go/flags/endtoend/vtcombo.txt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -272,7 +272,7 @@ Flags:
272
272
--querylog-buffer-size int Maximum number of buffered query logs before throttling log output (default 10)
273
273
--querylog-filter-tag string string that must be present in the query for it to be logged; if using a value as the tag, you need to disable query normalization
274
274
--querylog-format string format for query logs ("text" or "json") (default "text")
275
-
--querylog-mode string Mode for logging queries. 'error' will only log queries that return an error. Otherwise all queries will be logged.
275
+
--querylog-mode string Mode for logging queries. "error" will only log queries that return an error. Otherwise all queries will be logged. (default "all")
276
276
--querylog-row-threshold uint Number of rows a query has to return or affect before being logged; not useful for streaming queries. 0 means all queries will be logged.
277
277
--querylog-sample-rate float Sample rate for logging queries. Value must be between 0.0 (no logging) and 1.0 (all queries)
278
278
--queryserver-config-acl-exempt-acl string an acl that exempt from table acl checking (this acl is free to access any vitess tables).
Copy file name to clipboardExpand all lines: go/flags/endtoend/vtgate.txt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -177,7 +177,7 @@ Flags:
177
177
--querylog-buffer-size int Maximum number of buffered query logs before throttling log output (default 10)
178
178
--querylog-filter-tag string string that must be present in the query for it to be logged; if using a value as the tag, you need to disable query normalization
179
179
--querylog-format string format for query logs ("text" or "json") (default "text")
180
-
--querylog-mode string Mode for logging queries. 'error' will only log queries that return an error. Otherwise all queries will be logged.
180
+
--querylog-mode string Mode for logging queries. "error" will only log queries that return an error. Otherwise all queries will be logged. (default "all")
181
181
--querylog-row-threshold uint Number of rows a query has to return or affect before being logged; not useful for streaming queries. 0 means all queries will be logged.
182
182
--querylog-sample-rate float Sample rate for logging queries. Value must be between 0.0 (no logging) and 1.0 (all queries)
183
183
--redact-debug-ui-queries redact full queries and bind variables from debug UI
Copy file name to clipboardExpand all lines: go/flags/endtoend/vttablet.txt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -264,7 +264,7 @@ Flags:
264
264
--query-log-stream-handler string URL handler for streaming queries log (default "/debug/querylog")
265
265
--querylog-filter-tag string string that must be present in the query for it to be logged; if using a value as the tag, you need to disable query normalization
266
266
--querylog-format string format for query logs ("text" or "json") (default "text")
267
-
--querylog-mode string Mode for logging queries. 'error' will only log queries that return an error. Otherwise all queries will be logged.
267
+
--querylog-mode string Mode for logging queries. "error" will only log queries that return an error. Otherwise all queries will be logged. (default "all")
268
268
--querylog-row-threshold uint Number of rows a query has to return or affect before being logged; not useful for streaming queries. 0 means all queries will be logged.
269
269
--querylog-sample-rate float Sample rate for logging queries. Value must be between 0.0 (no logging) and 1.0 (all queries)
270
270
--queryserver-config-acl-exempt-acl string an acl that exempt from table acl checking (this acl is free to access any vitess tables).
fs.Float64Var(&queryLogConfigInstance.sampleRate, "querylog-sample-rate", queryLogConfigInstance.sampleRate, "Sample rate for logging queries. Value must be between 0.0 (no logging) and 1.0 (all queries)")
96
109
97
110
// QueryLogMode controls the mode for logging queries (all or error)
98
-
fs.StringVar(&queryLogConfigInstance.Mode, "querylog-mode", queryLogConfigInstance.Mode, `Mode for logging queries. 'error' will only log queries that return an error. Otherwise all queries will be logged.`)
111
+
fs.StringVar(&queryLogConfigInstance.Mode, "querylog-mode", queryLogConfigInstance.Mode, `Mode for logging queries. "error" will only log queries that return an error. Otherwise all queries will be logged.`)
99
112
}
100
113
101
-
const (
102
-
// QueryLogFormatText is the format specifier for text querylog output
103
-
QueryLogFormatText="text"
104
-
105
-
// QueryLogFormatJSON is the format specifier for json querylog output
106
-
QueryLogFormatJSON="json"
107
-
)
108
-
109
114
// StreamLogger is a non-blocking broadcaster of messages.
0 commit comments