Closed ghost closed 2 years ago
export TSS2_LOG=all+trace
Thank you @idesai, do you know if this is documented somewhere ? Aswell as all other environnement variable like TPM2TOOLS_TCTI
for example.
Hi,
With "export TSS2_LOG=all+trace", I still can't see the strace of tpm2-tss.
Is there any additional set up?
Hi,
With "export TSS2_LOG=all+trace", I still can't see the strace of tpm2-tss.
this will only output a bunch of logs for the tpm2-tss project libraries (like tss2-esys). It will not cause additional output from the tools code itself. You won't get an strace, you'll get the function traces from explicit logging code in the libraries.
Is there any additional set up?
Their shouldn't be assuming that the env variable was set in the environment you're running in and was set prior to execution of a tpm2-tool.
Hello,
I would like to enable debug in order to display this log trace: https://github.com/tpm2-software/tpm2-tss/blob/master/src/tss2-esys/api/Esys_StartAuthSession.c#L190
I already had
tpm2-tools
installed, so I recompiled the library and the tools:tpm2-tss:
tpm2-tools:
After that, I ran this tpm2-tools command:
But it's not working, I got no TRACE log, how can I solve this ?
Greetings.