From fa07fb99370c87dfb01d11ea4b401d97ed2a46b7 Mon Sep 17 00:00:00 2001 From: Dustin Falgout Date: Tue, 14 Feb 2017 04:37:04 -0600 Subject: [PATCH] setup logging. add temporary debug messages. --- web-greeter/greeter.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web-greeter/greeter.py b/web-greeter/greeter.py index b04a97d..ee6d904 100644 --- a/web-greeter/greeter.py +++ b/web-greeter/greeter.py @@ -61,7 +61,7 @@ class WebGreeter(App): def __init__(self, *args, **kwargs) -> None: super().__init__('WebGreeter', *args, **kwargs) - + self.logger.debug('Web Greeter started.') self.greeter = Greeter(self.config.themes_dir) self.greeter_config = Config(self.config) self.theme_utils = ThemeUtils(self.greeter, self.config) @@ -99,6 +99,7 @@ class WebGreeter(App): self.config.greeter.update(greeter_config) def load_theme(self): + self.logger.debug('Loading theme...') theme_url = '/{0}/{1}/index.html'.format(self.config.themes_dir, self.config.greeter.theme) self._web_container.load(theme_url)