From e9a17ce2d123a27154e0377b2e2173b8c14246bb Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Wed, 4 Nov 2015 19:06:14 -0800 Subject: [PATCH] Moar logging --- letsencrypt/client.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/letsencrypt/client.py b/letsencrypt/client.py index aba9c690d..8a0ad6af4 100644 --- a/letsencrypt/client.py +++ b/letsencrypt/client.py @@ -336,6 +336,7 @@ class Client(object): def _rollback_and_restart(self): """Rollback the most recent checkpoint and restart the webserver""" + logger.critical("Rolling back to previous server configuration...") try: self.installer.rollback_checkpoints() self.installer.restart() @@ -346,6 +347,8 @@ class Client(object): logger.critical("Please submit a bug report to " "https://github.com/letsencrypt/letsencrypt") raise + logger.critical("Rollback successful; your server has " + "been restarted with your old configuration") def enhance_config(self, domains, redirect=None): """Enhance the configuration.