Skip to content

Commit eb6877f

Browse files
committed
optional JSON logging
1 parent be283e8 commit eb6877f

File tree

7 files changed

+38
-199
lines changed

7 files changed

+38
-199
lines changed

Cargo.lock

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

core/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ vault-types = { version = "0.1.0", git = "ssh://[email protected]/thirdweb-dev/vaul
1414
vault-sdk = { version = "0.1.0", git = "ssh://[email protected]/thirdweb-dev/vault.git", branch = "main" }
1515
tower = "0.5.2"
1616
tracing = "0.1.41"
17-
async-nats = "0.40.0"
1817
twmq = { version = "0.1.0", path = "../twmq" }
1918
thirdweb-core = { version = "0.1.0", path = "../thirdweb-core" }
2019
uuid = { version = "1.17.0", features = ["v4"] }

server/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ edition = "2024"
55

66
[dependencies]
77
alloy = { version = "1.0.8", features = ["serde"] }
8-
async-nats = "0.40.0"
98
axum = { version = "0.8.4", features = ["macros"] }
109
config = "0.15.11"
1110
serde = { version = "1.0.219", features = ["derive"] }
@@ -21,7 +20,7 @@ tokio = { version = "1.44.2", features = ["full"] }
2120
tower-http = { version = "0.6.2", features = ["cors", "trace"] }
2221
tracing = "0.1.41"
2322
anyhow = "1.0.98"
24-
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }
23+
tracing-subscriber = { version = "0.3.19", features = ["env-filter", "json"] }
2524
rand = "0.9.1"
2625
futures = "0.3.31"
2726
serde-bool = "0.1.3"
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
server:
2+
log_format: json

0 commit comments

Comments
 (0)