Skip to content

Enable log

neil edited this page Apr 26, 2017 · 2 revisions

1. You can use --log parameter in any command to enable log file.

Once enabled, the log will take effect for any operations in future.

Example: install and enable log. --install    --log

If you forget to enable log when installing, you can enable log by any command. Example: enable log when issuing a cert:  --issue  ....   --log

2. Set the log file path.

The default log file is in ~/

And you can specify a log file path  --issue .....   --log  "/path/to/mylog.log"

3. You can also specify log level.

The default log level is 1, it will output the log info same as --debug This is enough for most cases. You can also specify log level.

set log level to 2  --issue  .....  --log     --log-level 2
You can’t perform that action at this time.