Skip to content

Commit

Permalink
setup logging. add temporary debug messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
lots0logs committed Feb 14, 2017
1 parent c7111f3 commit fa07fb9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web-greeter/greeter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -99,6 +99,7 @@ def get_and_apply_user_config(self):
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)

Expand Down

0 comments on commit fa07fb9

Please sign in to comment.