Skip to content

Commit

Permalink
perf: disable trace-level logging in release mode
Browse files Browse the repository at this point in the history
  • Loading branch information
max-niederman committed Apr 23, 2024
1 parent 00f8b9e commit 835c479
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/centipede/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ centipede_control = { version = "0.1.0", path = "../centipede_control" }
cidr = { version = "0.2.2", features = ["serde"] }
clap = { version = "4.5.4", features = ["derive"] }
ed25519-dalek = { version = "2.1.0", features = ["serde"] }
log = "0.4.21"
log = { version = "0.4.21", features = ["release_max_level_debug"] }
num_cpus = "1.16.0"
pretty_env_logger = "0.5.0"
serde = { version = "1.0.195", features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion packages/centipede_control/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ centipede_proto = { version = "0.1.0", path = "../centipede_proto" }
centipede_router = { version = "0.1.0", path = "../centipede_router" }
chacha20poly1305 = "0.10.1"
ed25519-dalek = "2.1.0"
log = "0.4.21"
log = { version = "0.4.21", features = ["release_max_level_debug"] }
rand = "0.8.5"
x25519-dalek = "2.0.0"

Expand Down
2 changes: 1 addition & 1 deletion packages/centipede_router/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ edition = "2021"
arc-swap = "1.6.0"
centipede_proto = { version = "0.1.0", path = "../centipede_proto" }
chacha20poly1305 = "0.10.1"
log = "0.4.21"
log = { version = "0.4.21", features = ["release_max_level_debug"] }
2 changes: 1 addition & 1 deletion packages/centipede_worker/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ edition = "2021"
centipede_proto = { version = "0.1.0", path = "../centipede_proto" }
centipede_router = { version = "0.1.0", path = "../centipede_router" }
hypertube = "0.2.2"
log = "0.4.20"
log = { version = "0.4.14", features = ["release_max_level_debug"] }
miette = "7.2.0"
mio = { version = "0.8.10", features = ["os-poll", "os-ext"] }
socket2 = { version = "0.5.5", features = ["all"] }
Expand Down

0 comments on commit 835c479

Please sign in to comment.