Skip to content

HTTP logging is not working while using duckdb-wasmΒ #2091

@bhvngt

Description

@bhvngt

What happens?

I am not able to view http logs while using duckdb wasm. I tried to print them from duckdb_logs_parsed('HTTP') macro after setting required configurations (those that works with duckdb cli);

To Reproduce

When I execute following command

PRAGMA enable_logging('HTTP');
SET enable_http_logging = true;
SET logging_storage = memory;
SELECT * FROM read_json('https://dummyjson.com/products/1');
SELECT request.type FROM duckdb_logs_parsed('HTTP');

duckdb cli prints following http log.

Image

However, while running the same command on DuckDb Shell, I get empty output.

Am I missing something here? Thanks in advance.

Browser/Environment:

chrome v139

Device:

Macbook

DuckDB-Wasm Version:

v1.3.2

DuckDB-Wasm Deployment:

https://shell.duckdb.org/

Full Name:

Bhavin Kamani

Affiliation:

Freelance Developer from India

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