diff options
Diffstat (limited to 'service/pixelated/application.py')
-rw-r--r-- | service/pixelated/application.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/service/pixelated/application.py b/service/pixelated/application.py index f36612f4..5914d51f 100644 --- a/service/pixelated/application.py +++ b/service/pixelated/application.py @@ -24,12 +24,11 @@ from twisted.internet import ssl from OpenSSL import SSL from OpenSSL import crypto -from pixelated.config import app_factory -from pixelated.config.args import parse_user_agent_args +from pixelated.config import arguments from pixelated.resources import loading_page from pixelated.config.initialize_leap import initialize_leap from pixelated.config.register import register -from pixelated.config.logging_setup import init_logging +from pixelated.config import logger, app_factory @defer.inlineCallbacks @@ -63,8 +62,8 @@ def _ssl_options(sslkey, sslcert): def initialize(): - args = parse_user_agent_args() - init_logging(debug=args.debug) + args = arguments.parse_user_agent_args() + logger.init(debug=args.debug) if args.register: register(*args.register) |