diff options
author | Bruno Wagner <bwgpro@gmail.com> | 2015-06-05 16:48:07 -0300 |
---|---|---|
committer | Bruno Wagner <bwgpro@gmail.com> | 2015-06-05 16:48:07 -0300 |
commit | 7f60e3eb5136444c86401bb3a1c3ae27fce668a1 (patch) | |
tree | 5f256a4f2ca77cf7771b7dbc1f22fef1d28ff0f7 /service/pixelated/application.py | |
parent | 65aa21198118105ed5772c546703d71ba9e9111e (diff) |
Refactoring the config, logging_setup is now called logger
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) |