Skip to content

Commit 8bb9a7f

Browse files
authored
Merge pull request #2829 from ehuss/log-to-tracing
Switch from log to tracing
2 parents 7878820 + 3e673ce commit 8bb9a7f

File tree

46 files changed

+322
-294
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+322
-294
lines changed

Cargo.lock

Lines changed: 97 additions & 69 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,13 @@ chrono = { version = "0.4.41", default-features = false, features = ["clock"] }
3232
clap = { version = "4.5.41", features = ["cargo", "wrap_help"] }
3333
clap_complete = "4.5.55"
3434
elasticlunr-rs = "3.0.2"
35-
env_logger = "0.11.8"
3635
font-awesome-as-a-crate = "0.3.0"
3736
futures-util = "0.3.31"
3837
glob = "0.3.3"
3938
handlebars = "6.3.2"
4039
hex = "0.4.3"
4140
indexmap = "2.10.0"
4241
ignore = "0.4.23"
43-
log = "0.4.27"
4442
mdbook-core = { path = "crates/mdbook-core" }
4543
mdbook-driver = { path = "crates/mdbook-driver" }
4644
mdbook-html = { path = "crates/mdbook-html" }
@@ -68,6 +66,8 @@ tokio = "1.46.1"
6866
toml = "0.9.2"
6967
topological-sort = "0.2.2"
7068
tower-http = "0.6.6"
69+
tracing = "0.1.41"
70+
tracing-subscriber = { version = "0.3.20", features = ["env-filter"] }
7171
walkdir = "2.5.0"
7272

7373
[package]
@@ -93,8 +93,6 @@ anyhow.workspace = true
9393
chrono.workspace = true
9494
clap.workspace = true
9595
clap_complete.workspace = true
96-
env_logger.workspace = true
97-
log.workspace = true
9896
mdbook-core.workspace = true
9997
mdbook-driver.workspace = true
10098
mdbook-html.workspace = true
@@ -104,6 +102,8 @@ mdbook-renderer.workspace = true
104102
mdbook-summary.workspace = true
105103
opener.workspace = true
106104
toml.workspace = true
105+
tracing.workspace = true
106+
tracing-subscriber.workspace = true
107107

108108
# Watch feature
109109
ignore = { workspace = true, optional = true }

crates/mdbook-core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ rust-version.workspace = true
99

1010
[dependencies]
1111
anyhow.workspace = true
12-
log.workspace = true
1312
regex.workspace = true
1413
serde.workspace = true
1514
serde_json.workspace = true
1615
toml.workspace = true
16+
tracing.workspace = true
1717

1818
[dev-dependencies]
1919
tempfile.workspace = true

0 commit comments

Comments
 (0)