This is an automated email from the ASF dual-hosted git repository. mssun pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-teaclave.git
commit 982c41801294971804ea8a1175376efc62c72af9 Author: Mingshen Sun <[email protected]> AuthorDate: Wed Jun 10 20:14:18 2020 -0700 Only allow info log for release build --- attestation/Cargo.toml | 2 +- binder/Cargo.toml | 2 +- config/Cargo.toml | 2 +- executor/Cargo.toml | 2 +- file_agent/Cargo.toml | 2 +- function/Cargo.toml | 2 +- rpc/Cargo.toml | 2 +- runtime/Cargo.toml | 2 +- services/access_control/enclave/Cargo.toml | 2 +- services/authentication/enclave/Cargo.toml | 2 +- services/execution/enclave/Cargo.toml | 2 +- services/frontend/enclave/Cargo.toml | 2 +- services/management/enclave/Cargo.toml | 2 +- services/scheduler/enclave/Cargo.toml | 2 +- services/storage/enclave/Cargo.toml | 2 +- services/utils/service_app_utils/Cargo.toml | 2 +- services/utils/service_enclave_utils/Cargo.toml | 2 +- tests/functional/app/Cargo.toml | 2 +- tests/functional/enclave/Cargo.toml | 2 +- tests/integration/app/Cargo.toml | 2 +- tests/integration/enclave/Cargo.toml | 2 +- tests/unit/app/Cargo.toml | 2 +- tests/unit/enclave/Cargo.toml | 2 +- types/Cargo.toml | 2 +- worker/Cargo.toml | 2 +- 25 files changed, 25 insertions(+), 25 deletions(-) diff --git a/attestation/Cargo.toml b/attestation/Cargo.toml index 2e612f7..ebfa9f3 100644 --- a/attestation/Cargo.toml +++ b/attestation/Cargo.toml @@ -24,7 +24,7 @@ cfg-if = { version = "0.1.9" } chrono = { version = "0.4.6" } hex = { version = "0.4.0" } httparse = { version = "1.3.2", default-features = false } -log = { version = "0.4.6" } +log = { version = "0.4.6", features = ["release_max_level_info"] } num-bigint = { version = "0.2.2" } percent-encoding = { version = "2.1.0" } rustls = { version = "0.16.0", features = ["dangerous_configuration"] } diff --git a/binder/Cargo.toml b/binder/Cargo.toml index 0fdd071..5c90177 100644 --- a/binder/Cargo.toml +++ b/binder/Cargo.toml @@ -19,7 +19,7 @@ enclave_unit_test = [] cfg-if = { version = "0.1.9" } anyhow = { version = "1.0.26" } env_logger = { version = "0.7.1" } -log = { version = "0.4.6" } +log = { version = "0.4.6", features = ["release_max_level_info"] } serde = { version = "1.0.92", features = ["derive"] } serde_json = { version = "1.0.39" } thiserror = { version = "1.0.9" } diff --git a/config/Cargo.toml b/config/Cargo.toml index 4c5cb18..6269752 100644 --- a/config/Cargo.toml +++ b/config/Cargo.toml @@ -13,7 +13,7 @@ build_config = [] [dependencies] anyhow = { version = "1.0.26" } -log = { version = "0.4.6" } +log = { version = "0.4.6", features = ["release_max_level_info"] } serde = { version = "1.0.92", features = ["derive"] } toml = { version = "0.5.1" } url = { version = "2.1.1" } diff --git a/executor/Cargo.toml b/executor/Cargo.toml index d150597..3755037 100644 --- a/executor/Cargo.toml +++ b/executor/Cargo.toml @@ -44,7 +44,7 @@ builtin_online_decrypt = [] builtin_private_join_and_compute = [] [dependencies] -log = { version = "0.4.6" } +log = { version = "0.4.6", features = ["release_max_level_info"] } anyhow = { version = "1.0.26" } serde_json = { version = "1.0.39" } serde = { version = "1.0.92", features = ["derive"] } diff --git a/file_agent/Cargo.toml b/file_agent/Cargo.toml index 3a750e7..312e15a 100644 --- a/file_agent/Cargo.toml +++ b/file_agent/Cargo.toml @@ -14,7 +14,7 @@ crate-type = ["staticlib", "rlib"] default = [] [dependencies] -log = { version = "0.4.6" } +log = { version = "0.4.6", features = ["release_max_level_info"] } anyhow = { version = "1.0.26" } serde_json = { version = "1.0.39" } serde = { version = "1.0.92", features = ["derive"] } diff --git a/function/Cargo.toml b/function/Cargo.toml index b0b761f..587c10b 100644 --- a/function/Cargo.toml +++ b/function/Cargo.toml @@ -23,7 +23,7 @@ enclave_unit_test = [ ] [dependencies] -log = { version = "0.4.6" } +log = { version = "0.4.6", features = ["release_max_level_info"] } anyhow = { version = "1.0.26" } serde_json = { version = "1.0.39" } serde = { version = "1.0.92", features = ["derive"] } diff --git a/rpc/Cargo.toml b/rpc/Cargo.toml index 67ce32c..2d4cee9 100644 --- a/rpc/Cargo.toml +++ b/rpc/Cargo.toml @@ -18,7 +18,7 @@ mesalock_sgx = [ anyhow = { version = "1.0.26" } cfg-if = { version = "0.1.9" } http = { version = "0.2" } -log = { version = "0.4.6" } +log = { version = "0.4.6", features = ["release_max_level_info"] } rustls = { version = "0.16.0", features = ["dangerous_configuration"] } serde = { version = "1.0.92", features = ["derive"] } serde_json = { version = "1.0.39" } diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 6537758..57b7c5b 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -20,7 +20,7 @@ cov = ["sgx_cov"] enclave_unit_test = ["teaclave_test_utils/mesalock_sgx"] [dependencies] -log = { version = "0.4.6" } +log = { version = "0.4.6", features = ["release_max_level_info"] } anyhow = { version = "1.0.26" } teaclave_types = { path = "../types" } teaclave_test_utils = { path = "../tests/utils", optional = true } diff --git a/services/access_control/enclave/Cargo.toml b/services/access_control/enclave/Cargo.toml index ca074f9..2a9c7b9 100644 --- a/services/access_control/enclave/Cargo.toml +++ b/services/access_control/enclave/Cargo.toml @@ -29,7 +29,7 @@ enclave_unit_test = ["teaclave_binder/enclave_unit_test", "teaclave_test_utils/m [dependencies] anyhow = { version = "1.0.26" } cfg-if = { version = "0.1.9" } -log = { version = "0.4.6" } +log = { version = "0.4.6", features = ["release_max_level_info"] } serde = { version = "1.0.92" } serde_json = { version = "1.0.39" } thiserror = { version = "1.0.9" } diff --git a/services/authentication/enclave/Cargo.toml b/services/authentication/enclave/Cargo.toml index 8ad22fd..42e799e 100644 --- a/services/authentication/enclave/Cargo.toml +++ b/services/authentication/enclave/Cargo.toml @@ -29,7 +29,7 @@ enclave_unit_test = ["teaclave_binder/enclave_unit_test", "teaclave_test_utils/m [dependencies] anyhow = { version = "1.0.26" } cfg-if = { version = "0.1.9" } -log = { version = "0.4.6" } +log = { version = "0.4.6", features = ["release_max_level_info"] } serde = { version = "1.0.92" } serde_json = { version = "1.0.39" } diff --git a/services/execution/enclave/Cargo.toml b/services/execution/enclave/Cargo.toml index 675e5e3..ae5d5d8 100644 --- a/services/execution/enclave/Cargo.toml +++ b/services/execution/enclave/Cargo.toml @@ -29,7 +29,7 @@ cov = ["teaclave_service_enclave_utils/cov"] enclave_unit_test = ["teaclave_binder/enclave_unit_test", "teaclave_test_utils/mesalock_sgx"] [dependencies] -log = { version = "0.4.6" } +log = { version = "0.4.6", features = ["release_max_level_info"] } anyhow = { version = "1.0.26" } serde_json = { version = "1.0.39" } serde = { version = "1.0.92", features = ["derive"] } diff --git a/services/frontend/enclave/Cargo.toml b/services/frontend/enclave/Cargo.toml index 8eae695..92b63bc 100644 --- a/services/frontend/enclave/Cargo.toml +++ b/services/frontend/enclave/Cargo.toml @@ -29,7 +29,7 @@ enclave_unit_test = ["teaclave_binder/enclave_unit_test", "teaclave_test_utils/m [dependencies] anyhow = { version = "1.0.26" } cfg-if = { version = "0.1.9" } -log = { version = "0.4.6" } +log = { version = "0.4.6", features = ["release_max_level_info"] } serde = { version = "1.0.92" } serde_json = { version = "1.0.39" } thiserror = { version = "1.0.9" } diff --git a/services/management/enclave/Cargo.toml b/services/management/enclave/Cargo.toml index 2bbceb6..1aedbaa 100644 --- a/services/management/enclave/Cargo.toml +++ b/services/management/enclave/Cargo.toml @@ -29,7 +29,7 @@ enclave_unit_test = ["teaclave_binder/enclave_unit_test", "teaclave_test_utils/m [dependencies] anyhow = { version = "1.0.26" } cfg-if = { version = "0.1.9" } -log = { version = "0.4.6" } +log = { version = "0.4.6", features = ["release_max_level_info"] } serde = { version = "1.0.92" } serde_json = { version = "1.0.39" } thiserror = { version = "1.0.9" } diff --git a/services/scheduler/enclave/Cargo.toml b/services/scheduler/enclave/Cargo.toml index 4a7278c..7772f08 100644 --- a/services/scheduler/enclave/Cargo.toml +++ b/services/scheduler/enclave/Cargo.toml @@ -27,7 +27,7 @@ cov = ["teaclave_service_enclave_utils/cov"] enclave_unit_test = ["teaclave_binder/enclave_unit_test", "teaclave_test_utils/mesalock_sgx"] [dependencies] -log = { version = "0.4.6" } +log = { version = "0.4.6", features = ["release_max_level_info"] } anyhow = { version = "1.0.26" } serde_json = { version = "1.0.39" } serde = { version = "1.0.92", features = ["derive"] } diff --git a/services/storage/enclave/Cargo.toml b/services/storage/enclave/Cargo.toml index bd18414..5f305d9 100644 --- a/services/storage/enclave/Cargo.toml +++ b/services/storage/enclave/Cargo.toml @@ -29,7 +29,7 @@ enclave_unit_test = ["teaclave_binder/enclave_unit_test", "teaclave_test_utils/m [dependencies] anyhow = { version = "1.0.26" } cfg-if = { version = "0.1.9" } -log = { version = "0.4.6" } +log = { version = "0.4.6", features = ["release_max_level_info"] } serde = { version = "1.0.92" } thiserror = { version = "1.0.9" } diff --git a/services/utils/service_app_utils/Cargo.toml b/services/utils/service_app_utils/Cargo.toml index 26e6f20..e01ca3a 100644 --- a/services/utils/service_app_utils/Cargo.toml +++ b/services/utils/service_app_utils/Cargo.toml @@ -11,7 +11,7 @@ edition = "2018" ctrlc = { version = "3.1.2" } env_logger = { version = "0.7.1" } anyhow = { version = "1.0.26" } -log = { version = "0.4.6" } +log = { version = "0.4.6", features = ["release_max_level_info"] } libc = { version = "0.2.66" } signal-hook = { version = "0.1.13" } diff --git a/services/utils/service_enclave_utils/Cargo.toml b/services/utils/service_enclave_utils/Cargo.toml index 160a5fa..8ae2a26 100644 --- a/services/utils/service_enclave_utils/Cargo.toml +++ b/services/utils/service_enclave_utils/Cargo.toml @@ -16,7 +16,7 @@ cov = ["sgx_cov", "sgx_trts"] [dependencies] anyhow = { version = "1.0.26" } env_logger = { version = "0.7.1" } -log = { version = "0.4.6" } +log = { version = "0.4.6", features = ["release_max_level_info"] } teaclave_service_enclave_utils_proc_macro = { path = "./proc_macro" } teaclave_types = { path = "../../../types" } diff --git a/tests/functional/app/Cargo.toml b/tests/functional/app/Cargo.toml index dc34fae..d8ee7f4 100644 --- a/tests/functional/app/Cargo.toml +++ b/tests/functional/app/Cargo.toml @@ -8,7 +8,7 @@ build = "build.rs" edition = "2018" [dependencies] -log = { version = "0.4.6" } +log = { version = "0.4.6", features = ["release_max_level_info"] } env_logger = { version = "0.7.1" } anyhow = { version = "1.0.26" } structopt = { version = "0.3" } diff --git a/tests/functional/enclave/Cargo.toml b/tests/functional/enclave/Cargo.toml index b720f5c..dcd0de2 100644 --- a/tests/functional/enclave/Cargo.toml +++ b/tests/functional/enclave/Cargo.toml @@ -31,7 +31,7 @@ cov = ["teaclave_service_enclave_utils/cov"] anyhow = { version = "1.0.26" } inventory = { version = "0.1.6" } lazy_static = { version = "1.4.0" } -log = { version = "0.4.6" } +log = { version = "0.4.6", features = ["release_max_level_info"] } serde = { version = "1.0.92" } serde_json = { version = "1.0.39" } thiserror = { version = "1.0.9" } diff --git a/tests/integration/app/Cargo.toml b/tests/integration/app/Cargo.toml index 176551b..f6de0f2 100644 --- a/tests/integration/app/Cargo.toml +++ b/tests/integration/app/Cargo.toml @@ -8,7 +8,7 @@ build = "build.rs" edition = "2018" [dependencies] -log = { version = "0.4.6" } +log = { version = "0.4.6", features = ["release_max_level_info"] } env_logger = { version = "0.7.1" } anyhow = { version = "1.0.26" } diff --git a/tests/integration/enclave/Cargo.toml b/tests/integration/enclave/Cargo.toml index a6ad256..f08df63 100644 --- a/tests/integration/enclave/Cargo.toml +++ b/tests/integration/enclave/Cargo.toml @@ -30,7 +30,7 @@ mesalock_sgx = [ cov = ["teaclave_service_enclave_utils/cov"] [dependencies] -log = { version = "0.4.6" } +log = { version = "0.4.6", features = ["release_max_level_info"] } anyhow = { version = "1.0.26" } serde = { version = "1.0.92" } serde_json = { version = "1.0.39" } diff --git a/tests/unit/app/Cargo.toml b/tests/unit/app/Cargo.toml index 8b67d8a..b8279b1 100644 --- a/tests/unit/app/Cargo.toml +++ b/tests/unit/app/Cargo.toml @@ -8,7 +8,7 @@ build = "build.rs" edition = "2018" [dependencies] -log = { version = "0.4.6" } +log = { version = "0.4.6", features = ["release_max_level_info"] } env_logger = { version = "0.7.1" } anyhow = { version = "1.0.26" } diff --git a/tests/unit/enclave/Cargo.toml b/tests/unit/enclave/Cargo.toml index 8ebba92..4967166 100644 --- a/tests/unit/enclave/Cargo.toml +++ b/tests/unit/enclave/Cargo.toml @@ -50,7 +50,7 @@ mesalock_sgx = [ cov = ["teaclave_service_enclave_utils/cov"] [dependencies] -log = { version = "0.4.6" } +log = { version = "0.4.6", features = ["release_max_level_info"] } anyhow = { version = "1.0.26" } serde = { version = "1.0.92" } thiserror = { version = "1.0.9" } diff --git a/types/Cargo.toml b/types/Cargo.toml index 56cef0b..a886247 100644 --- a/types/Cargo.toml +++ b/types/Cargo.toml @@ -20,7 +20,7 @@ enclave_unit_test = ["teaclave_test_utils/mesalock_sgx"] [dependencies] protected_fs_rs = { path = "../common/protected_fs_rs", default-features = false} -log = { version = "0.4.6" } +log = { version = "0.4.6", features = ["release_max_level_info"] } anyhow = { version = "1.0.26" } sgx_types = { version = "1.1.2" } rand = { version = "0.7.0" } diff --git a/worker/Cargo.toml b/worker/Cargo.toml index fa403a9..a351db5 100644 --- a/worker/Cargo.toml +++ b/worker/Cargo.toml @@ -22,7 +22,7 @@ cov = ["sgx_cov"] enclave_unit_test = ["teaclave_test_utils/mesalock_sgx"] [dependencies] -log = { version = "0.4.6" } +log = { version = "0.4.6", features = ["release_max_level_info"] } anyhow = { version = "1.0.26" } serde_json = { version = "1.0.39" } thiserror = { version = "1.0.9" } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
