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

2022-07-25 Thread Alex (Teh Sunn Liu)
Hello everyone! I've added a logger in the untrusted part and it's working as expected, when I try to add the logger in the trusted part (enclave) the logger doesn't print anything on the console. However, when I comment `env_logger()::init()` from the application part, the enclave logger appea

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

2020-02-04 Thread Yu Ding
@brenzi It's interesting. I can confirm that the enclave can build with your patch, but cannot print log to console. I guess the reason is that there are "two different `log`". The one without `tag` is initiated by env_logger, while the other with `tag` is not. But for some unknown reason, the

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

2020-02-04 Thread brenzi
@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 +++