Commit a37a345
Add username info on Non OK HTTP Status code
Currently, when Trino Gateway logs non-OK HTTP status codes, such as 401 Unauthorized, it does not include information about the user who initiated the request. This lack of context makes troubleshooting difficult, as it requires manually cross-referencing timestamps with external logs (e.g., Ingress) to identify the source of the problematic requests. This change enhances the logging mechanism to include the username in the log output for these error scenarios, significantly speeding up diagnostics and reducing operational overhead.1 parent 44a332e commit a37a345
File tree
1 file changed
+1
-1
lines changed- gateway-ha/src/main/java/io/trino/gateway/proxyserver
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
292 | | - | |
| 292 | + | |
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
| |||
0 commit comments