You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@teaclave.apache.org by brenzi <no...@github.com> on 2020/02/04 12:23:37 UTC

Re: [apache/incubator-teaclave-sgx-sdk] Logging environment in enclave (#134)

@dingelish:  It seems that logging somehow got broken in v1.1.0

If I apply the following patch to teaclave-sgx-sdk tag=v1.1.0
```
diff --git a/samplecode/logger/enclave/Cargo.toml b/samplecode/logger/enclave/Cargo.toml
index 95e2550d..120a5e52 100644
--- a/samplecode/logger/enclave/Cargo.toml
+++ b/samplecode/logger/enclave/Cargo.toml
@@ -15,7 +15,7 @@ sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 sgx_tstd = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }

 [dependencies]
-log = { git = "https://github.com/mesalock-linux/log-sgx" }
+log = { tag = "sgx_1.1.0", git = "https://github.com/mesalock-linux/log-sgx" }
 env_logger = { git = "https://github.com/mesalock-linux/env_logger-sgx" }

 [patch.'https://github.com/apache/teaclave-sgx-sdk.git']

```
then logging doesn't work anymore. Although the commit is the same:
https://github.com/mesalock-linux/log-sgx/commit/1f02c0fffc360b9efb6cd319f402c4a2b28d96e7

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave-sgx-sdk/issues/134#issuecomment-581886612