Skip to content

Debug-only HTTP request logging for remote reads (DuckDB 2.0 logging) #252

Done

Description

@jrosskopf

Deferred from the DuckDB 2.0 upgrade (#241). DuckDB 2.0 replaced enable_http_logging with the logging framework: CALL enable_logging('HTTP'), settings logging_level, logging_sink, redact_http_logs (names verified; the HTTP log type's columns are not).

Idea: an opt-in debug switch that logs each S3/GCS/Azure/HTTP request a remote config read or query makes, redacted.

Open questions: correlating log rows with flAPI's request_id across the per-thread connection pool; cost when off (must be zero); where the rows go (flAPI log vs a table). Test with FakeS3 request counts before adopting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions