Renewal Hook Logs

Please is there a way to see logs of running/outputs from renewal-hooks scripts.

In /var/log/letsencrypt/ I can found the details on certificate update process itself but non on hooks were called.

So where can find the logs on renewal-hooks scripts were called and the outputs they produced along the process?

Thanks

1 Like

It would help if you showed what those hook scripts contain and what kind of system you are running. But, generally you could look at the other logs on your system. For example, if your hook restarts nginx you might find it in /var/log/messages

You could also add commands to the hook script to write to a log file of your choosing.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.