Skip to content

Commit 2031800

Browse files
author
Jonathan Woollett-Light
committed
build: Omit instrumentation by default
Enables the `max_level_debug` tracing features to omit instrumentation by default. Signed-off-by: Jonathan Woollett-LIght <jcawl@amazon.co.uk>
1 parent ddfebb0 commit 2031800

File tree

12 files changed

+12
-12
lines changed

12 files changed

+12
-12
lines changed

src/api_server/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ mmds = { path = "../mmds" }
2121
seccompiler = { path = "../seccompiler" }
2222
utils = { path = "../utils" }
2323
vmm = { path = "../vmm" }
24-
tracing = "0.1.37"
24+
tracing = { version = "0.1.37", features = ["max_level_debug"] }
2525

2626
[dev-dependencies]
2727
libc = "0.2.117"

src/cpu-template-helper/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ libc = "0.2.147"
1717
serde = { version = "1.0.183", features = ["derive"] }
1818
serde_json = "1.0.104"
1919
thiserror = "1.0.44"
20-
tracing = "0.1.37"
20+
tracing = { version = "0.1.37", features = ["max_level_debug"] }
2121

2222
vmm = { path = "../vmm" }
2323

src/dumbo/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ bench = false
1111
[dependencies]
1212
bitflags = "1.3.2"
1313
derive_more = { version = "0.99.17", default-features = false, features = ["from"] }
14-
tracing = "0.1.37"
14+
tracing = { version = "0.1.37", features = ["max_level_debug"] }
1515

1616
logger = { path = "../logger" }
1717
micro_http = { git = "https://github.com/firecracker-microvm/micro-http", rev = "4b18a04" }

src/firecracker/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ log = "0.4.19"
1919
serde_json = "1.0.104"
2020
thiserror = "1.0.44"
2121
timerfd = "1.5.0"
22-
tracing = "0.1.37"
22+
tracing = { version = "0.1.37", features = ["max_level_debug"] }
2323
tracing-subscriber = "0.3.17"
2424

2525
api_server = { path = "../api_server" }

src/jailer/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ libc = "0.2.147"
1717
nix = { version = "0.26.2", default-features = false, features = ["dir"] }
1818
regex = { version = "1.9.3", default-features = false, features = ["std"] }
1919
thiserror = "1.0.44"
20-
tracing = "0.1.37"
20+
tracing = { version = "0.1.37", features = ["max_level_debug"] }
2121

2222
utils = { path = "../utils" }

src/logger/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ serde = { version = "1.0.136", features = ["derive", "rc"] }
1616
serde_json = "1.0.78"
1717
thiserror = "1.0.32"
1818
vm-superio = "0.7.0"
19-
tracing = "0.1.37"
19+
tracing = { version = "0.1.37", features = ["max_level_debug"] }
2020
utils = { path = "../utils" }

src/mmds/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ logger = { path = "../logger" }
2424
micro_http = { git = "https://github.com/firecracker-microvm/micro-http", rev = "4b18a04" }
2525
snapshot = { path = "../snapshot" }
2626
utils = { path = "../utils" }
27-
tracing = "0.1.37"
27+
tracing = { version = "0.1.37", features = ["max_level_debug"] }

src/rebase-snap/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ bench = false
1313
[dependencies]
1414
libc = "0.2.147"
1515
thiserror = "1.0.40"
16-
tracing = "0.1.37"
16+
tracing = { version = "0.1.37", features = ["max_level_debug"] }
1717

1818
utils = { path = "../utils" }

src/seccompiler/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ libc = "0.2.147"
2222
serde = { version = "1.0.183", features = ["derive"] }
2323
serde_json = "1.0.104"
2424
thiserror = "1.0.44"
25-
tracing = "0.1.37"
25+
tracing = { version = "0.1.37", features = ["max_level_debug"] }
2626

2727
utils = { path = "../utils" }

src/snapshot/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ libc = "0.2.117"
1414
versionize = "0.1.10"
1515
versionize_derive = "0.1.5"
1616
thiserror = "1.0.32"
17-
tracing = "0.1.37"
17+
tracing = { version = "0.1.37", features = ["max_level_debug"] }
1818

1919
[dev-dependencies]
2020
criterion = { version = "0.5.0", default-features = false }

0 commit comments

Comments
 (0)