Search code examples
smartcardjavacardjcopgpshell

How to keep log messages to a file in JCShell?


I am executing some commands in JCShell (init-update, auth-ext, etc) to communicate with a SmartCard. I would like to address all those log messages to a file, so then I could manipulate them.

What is the command/method to do this?

Thanks


Solution

  • I found the answer:

    • Create a file in called e.g. log.txt
    • In JCShell: > 3 '<path>\log.txt'

    That's all! From now all messages showed in JCShell terminal will be redirected to log.txt file too.