init logger before configurator

This commit is contained in:
James Kasten 2012-11-17 04:06:36 -05:00
parent 9f2a49705f
commit db52caa7e9

View file

@ -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")