zenhack / simp_le

Simple Let's Encrypt client
GNU General Public License v3.0
224 stars 38 forks source link

Improve error message about logging. #143

Open x-yuri opened 4 years ago

x-yuri commented 4 years ago

simp_le might say:

Challenge validation has failed, see error log.

Is there a log file?

zenhack commented 4 years ago

No, there's not a separate log file -- it just logs to stderr. you can pass --verbose to get more detailed logging.

x-yuri commented 4 years ago

I believe the message is misleading. It can probably raise "Challenge validation has failed", which would print this, and then:

Debugging tips: -v improves output verbosity. Help is available under --help.

Although ideally I'd suggest to rerun with -v only if it wasn't passed. And about --help, it's kind of obvious. In my view, of course.

zenhack commented 4 years ago

Yeah, I agree. I'll change the issue title to reflect that, and we can use this issue to track it.