[GH-ISSUE #2082] Unable to have log_level work #878

Closed
opened 2026-03-16 00:44:19 +03:00 by kerem · 3 comments
Owner

Originally created by @williamdes on GitHub (Oct 29, 2023).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/2082

Describe the bug

In my config I tried to set log_level = "Debug" but it changes nothing to the output.
If I use --debug it gives more info at startup but nothing more after.

I am perplex and would like to see the queries like I could do some time before.

To Reproduce

log_level = "Debug"

Run: dig @10.222.222.1 emails.mail-server.intranet. see no new line in logs

Expected behavior

See requests in the logs at Debug level

Version:
Latest Docker

Originally created by @williamdes on GitHub (Oct 29, 2023). Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/2082 **Describe the bug** In my config I tried to set `log_level = "Debug"` but it changes nothing to the output. If I use `--debug` it gives more info at startup but nothing more after. I am perplex and would like to see the queries like I could do some time before. **To Reproduce** `log_level = "Debug"` Run: `dig @10.222.222.1 emails.mail-server.intranet.` see no new line in logs **Expected behavior** See requests in the logs at Debug level **Version:** Latest Docker
kerem closed this issue 2026-03-16 00:44:24 +03:00
Author
Owner

@djc commented on GitHub (Oct 30, 2023):

Try adding RUST_LOG=debug to the environment?

<!-- gh-comment-id:1785388780 --> @djc commented on GitHub (Oct 30, 2023): Try adding `RUST_LOG=debug` to the environment?
Author
Owner

@williamdes commented on GitHub (Nov 14, 2023):

Try adding RUST_LOG=debug to the environment?

Thank you, I will try this
Let's say this issue is closed for now

<!-- gh-comment-id:1810384805 --> @williamdes commented on GitHub (Nov 14, 2023): > Try adding `RUST_LOG=debug` to the environment? Thank you, I will try this Let's say this issue is closed for now
Author
Owner

@williamdes commented on GitHub (Nov 19, 2023):

Try adding RUST_LOG=debug to the environment?

Thanks, it works great

<!-- gh-comment-id:1817995063 --> @williamdes commented on GitHub (Nov 19, 2023): > Try adding `RUST_LOG=debug` to the environment? Thanks, it works great
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hickory-dns#878
No description provided.