mirror of
https://github.com/certbot/certbot.git
synced 2026-06-06 07:12:54 -04:00
init logger before configurator
This commit is contained in:
parent
9f2a49705f
commit
db52caa7e9
1 changed files with 2 additions and 1 deletions
|
|
@ -438,7 +438,6 @@ def authenticate():
|
|||
assert is_hostname_sane(server), `server` + " is an impossible hostname"
|
||||
|
||||
upstream = "https://%s/chocolate.py" % server
|
||||
config = configurator.Configurator()
|
||||
|
||||
if not names:
|
||||
names = config.get_all_names()
|
||||
|
|
@ -452,6 +451,8 @@ def authenticate():
|
|||
logger.setLogger(sys.stdout)
|
||||
logger.setLogLevel(logger.INFO)
|
||||
|
||||
config = configurator.Configurator()
|
||||
|
||||
# Check first if mod_ssl is loaded
|
||||
if not config.check_ssl_loaded():
|
||||
logger.info("Loading mod_ssl into Apache Server")
|
||||
|
|
|
|||
Loading…
Reference in a new issue