mirror of
https://github.com/certbot/certbot.git
synced 2026-07-27 16:30:31 +02:00
init logger before configurator
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user