Skip to content

Slight difference in combined log format visavi nginx #33

Open
@mskyttner

Description

@mskyttner

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?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions