diff --git a/bin/node-template/node/Cargo.toml b/bin/node-template/node/Cargo.toml index e53320c940510..7ed1d96f6c5b7 100644 --- a/bin/node-template/node/Cargo.toml +++ b/bin/node-template/node/Cargo.toml @@ -58,6 +58,7 @@ substrate-build-script-utils = { version = "3.0.0", path = "../../../utils/build [features] default = [] +disable-logging = ["node-template-runtime/disable-logging"] runtime-benchmarks = [ "node-template-runtime/runtime-benchmarks", ] diff --git a/bin/node-template/runtime/Cargo.toml b/bin/node-template/runtime/Cargo.toml index 8f7d39f18bc4d..b534c61c25a54 100644 --- a/bin/node-template/runtime/Cargo.toml +++ b/bin/node-template/runtime/Cargo.toml @@ -51,6 +51,7 @@ substrate-wasm-builder = { version = "4.0.0", path = "../../../utils/wasm-builde [features] default = ["std"] +disable-logging = ["sp-api/disable-logging"] std = [ "codec/std", "frame-executive/std", diff --git a/bin/node/cli/Cargo.toml b/bin/node/cli/Cargo.toml index f552d3fff36cc..d398a8256fa81 100644 --- a/bin/node/cli/Cargo.toml +++ b/bin/node/cli/Cargo.toml @@ -163,6 +163,7 @@ cli = [ "substrate-build-script-utils", "try-runtime-cli", ] +disable-logging = ["node-runtime/disable-logging"] runtime-benchmarks = [ "node-runtime/runtime-benchmarks", "frame-benchmarking-cli", diff --git a/bin/node/runtime/Cargo.toml b/bin/node/runtime/Cargo.toml index 9d72186966547..5f376a92e5472 100644 --- a/bin/node/runtime/Cargo.toml +++ b/bin/node/runtime/Cargo.toml @@ -95,6 +95,7 @@ sp-io = { version = "3.0.0", path = "../../../primitives/io" } [features] default = ["std"] +disable-logging = ["sp-api/disable-logging"] with-tracing = [ "frame-executive/with-tracing" ] std = [ "sp-authority-discovery/std",