Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slight difference in combined log format visavi nginx #33

Open
mskyttner opened this issue Feb 7, 2025 · 0 comments
Open

Slight difference in combined log format visavi nginx #33

mskyttner opened this issue Feb 7, 2025 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@mskyttner
Copy link

With duckdb 1.2 and httpserver 0.1.15 (yay!) I noticed the following differences in combined log format when running an nginx proxy before the service:

nginx-1  | 172.27.0.1 - - [07/Feb/2025:13:58:04 +0000] "GET /dux/?url=/dux/ HTTP/1.1" 200 32737 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0" "-"
nginx-1  | 172.27.0.1 - default [07/Feb/2025:13:58:10 +0000] "POST /dux/?add_http_cors_header=1&default_format=JSONCompact&max_result_rows=1000&max_result_bytes=10000000&result_overflow_mode=break HTTP/1.1" 200 2446 "http://localhost/dux/?url=/dux/" "Mozilla/5.0 (X11; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0" "-"
duckserve-1  | 172.27.0.2 - - [07/Feb/2025:13:58:04 +0000] "GET /duckserve/ HTTP/HTTP/1.0" 200 32737 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0" "172.27.0.1"
duckserve-1  | 172.27.0.2 - - [07/Feb/2025:13:58:10 +0000] "POST /duckserve/ HTTP/HTTP/1.0" 200 2446 "http://localhost/dux/?url=/dux/" "Mozilla/5.0 (X11; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0" "172.27.0.1"

HTTP/HTTP/1.0 looks like it is "doubled" (perhaps the logged variable value already contains the "HTTP" string?)

@lmangani lmangani added bug Something isn't working help wanted Extra attention is needed labels Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants