Skip to content

RUST_LOG is not respected #148

@captn3m0

Description

@captn3m0

Running using docker, docker inspect returns:

"Config": {
    "AttachStdin": false,
    "AttachStdout": false,
    "AttachStderr": false,
    "Tty": false,
    "OpenStdin": false,
    "StdinOnce": false,
    "Env": [
        "RUST_LOG=error",
        "REFRESH_INTERVAL=5m",
        "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
    ],
}

However I still get a ton of INFO logs:

2025-05-09T06:43:39.078553Z  INFO ThreadSafeRepository::open():open_from_paths(): gix::open::repository: close time.busy=131µs time.idle=355ns
2025-05-09T06:43:39.078557Z  INFO ThreadSafeRepository::open(): gix::open::repository: close time.busy=169µs time.idle=1.24µs
2025-05-09T06:43:39.078855Z  INFO ThreadSafeRepository::open(): gix::open::repository: close time.busy=4.89µs time.idle=655ns
2025-05-09T06:43:39.079024Z  INFO ThreadSafeRepository::open():open_from_paths():gix_odb::Store::at(): gix_odb::store_impls::dynamic::init: close time.busy=48.9µs time.idle=483ns
2025-05-09T06:43:39.079031Z  INFO ThreadSafeRepository::open():open_from_paths(): gix::open::repository: close time.busy=134µs time.idle=364nserror
2025-05-09T06:43:39.079034Z  INFO ThreadSafeRepository::open(): gix::open::repository: close time.busy=169µs time.idle=328ns

I also tried setting RUST_LOG=error,web=off but I was still getting web logs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions