rgit icon indicating copy to clipboard operation
rgit copied to clipboard

`RUST_LOG` is not respected

Open captn3m0 opened this issue 8 months ago • 0 comments

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.

captn3m0 avatar May 09 '25 06:05 captn3m0