mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 03:05:51 +03:00
[PR #1667] [CLOSED] Move log to tracing package #2493
Labels
No labels
blocked
breaking-change
bug
bug:critical
bug:tests
cleanup
compliance
compliance
compliance
crate:all
crate:client
crate:native-tls
crate:proto
crate:recursor
crate:resolver
crate:resolver
crate:rustls
crate:server
crate:util
dependencies
docs
duplicate
easy
easy
enhance
enhance
enhance
feature:dns-over-https
feature:dns-over-quic
feature:dns-over-tls
feature:dnsssec
feature:global_lb
feature:mdns
feature:tsig
features:edns
has workaround
ops
perf
platform:WASM
platform:android
platform:fuchsia
platform:linux
platform:macos
platform:windows
pull-request
question
test
tools
tools
trust
unclear
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hickory-dns#2493
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hickory-dns/hickory-dns/pull/1667
Author: @erikh
Created: 3/25/2022
Status: ❌ Closed
Base:
main← Head:tracing📝 Commits (3)
69fe26cMove log to tracing package10c37f7Move util subpackage to tracing package03e763fRestore enabled checks with level_enabled! macro📊 Changes
72 files changed (+328 additions, -296 deletions)
View changed files
📝
Cargo.lock(+170 -63)📝
bin/Cargo.toml(+2 -2)📝
bin/src/named.rs(+37 -14)📝
bin/tests/named_https_tests.rs(+0 -3)📝
bin/tests/named_rustls_tests.rs(+0 -3)📝
bin/tests/named_test_rsa_dnssec.rs(+1 -4)📝
bin/tests/named_tests.rs(+0 -3)📝
bin/tests/server_harness/mod.rs(+2 -1)📝
crates/client/Cargo.toml(+2 -1)📝
crates/client/src/client/async_client.rs(+1 -1)📝
crates/client/src/rr/dnssec/signer.rs(+3 -1)📝
crates/client/src/rr/dnssec/tsig.rs(+3 -1)📝
crates/client/src/serialize/txt/rdata_parsers/caa.rs(+1 -1)📝
crates/proto/Cargo.toml(+2 -2)📝
crates/proto/src/https/https_client_stream.rs(+1 -1)📝
crates/proto/src/https/https_server.rs(+1 -1)📝
crates/proto/src/https/request.rs(+1 -1)📝
crates/proto/src/multicast/mdns_stream.rs(+1 -1)📝
crates/proto/src/op/message.rs(+1 -1)📝
crates/proto/src/rr/dnssec/rdata/dnskey.rs(+1 -1)...and 52 more files
📄 Description
This is preliminary and needs some work still, but compiles and tests. I know this is a slog of a review, but please lmk if you'd like anything major changed. I also don't have a great env for testing trust-dns changes properly so any assistance here would be helpful.
Fundamentally, this patch just changes out the logging for the tracing package, except for
utilwhich was left mostly alone. In all casesenv_loggerwas replaced with thetracing_subscriberpackage.crates/server/src/logger.rswas completely gutted and replaced with a a tracing aware solution.This may not be what you want, but I hope it's in the right direction. Thanks.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.