Skip to content

Commit

Permalink
Merge pull request certbot#2496 from letsencrypt/issue_2410
Browse files Browse the repository at this point in the history
print only challenge changes to configs
  • Loading branch information
pde committed Feb 26, 2016
2 parents a5d320b + 812d6e7 commit 452ee2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion letsencrypt-apache/letsencrypt_apache/configurator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1440,7 +1440,6 @@ def restart(self):
"""
self.config_test()
logger.debug(self.reverter.view_config_changes(for_logging=True))
self._reload()

def _reload(self):
Expand Down
4 changes: 3 additions & 1 deletion letsencrypt-apache/letsencrypt_apache/tls_sni_01.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def _mod_config(self):
self.configurator.reverter.register_file_creation(
True, self.challenge_conf)

logger.debug("writing a config file with text: %s", config_text)
logger.debug("writing a config file with text:\n %s", config_text)
with open(self.challenge_conf, "w") as new_conf:
new_conf.write(config_text)

Expand Down Expand Up @@ -144,6 +144,8 @@ def _conf_include_check(self, main_config):
if len(self.configurator.parser.find_dir(
parser.case_i("Include"), self.challenge_conf)) == 0:
# print "Including challenge virtual host(s)"
logger.debug("Adding Include %s to %s",
self.challenge_conf, parser.get_aug_path(main_config))
self.configurator.parser.add_dir(
parser.get_aug_path(main_config),
"Include", self.challenge_conf)
Expand Down

0 comments on commit 452ee2a

Please sign in to comment.