kopia lustrzana https://github.com/bugout-dev/moonstream
log query if provided
rodzic
0cd3c35796
commit
b6b99e5f7a
|
@ -108,6 +108,9 @@ func logMiddleware(next http.Handler) http.Handler {
|
||||||
}
|
}
|
||||||
|
|
||||||
if stateCLI.enableDebugFlag {
|
if stateCLI.enableDebugFlag {
|
||||||
|
if r.URL.RawQuery != "" {
|
||||||
|
logStr += fmt.Sprintf(" %s", r.URL.RawQuery)
|
||||||
|
}
|
||||||
accessID := extractAccessID(r)
|
accessID := extractAccessID(r)
|
||||||
if accessID != "" {
|
if accessID != "" {
|
||||||
dataSource := extractDataSource(r)
|
dataSource := extractDataSource(r)
|
||||||
|
|
Ładowanie…
Reference in New Issue