diff --git a/kivy/app.py b/kivy/app.py index 1b47d764c..b05ccd9a5 100644 --- a/kivy/app.py +++ b/kivy/app.py @@ -381,6 +381,7 @@ class App(EventDispatcher): if clsname.endswith('App'): clsname = clsname[:-3] filename = join(kv_directory, '%s.kv' % clsname.lower()) + Logger.debug('App: Loading kv <{0}>'.format(filename)) if not exists(filename): Logger.debug('App: kv <%s> not found' % filename) return False @@ -472,6 +473,7 @@ class App(EventDispatcher): filename = self.get_application_config() if filename is None: return config + Logger.debug('App: Loading configuration <{0}>'.format(filename)) if exists(filename): try: config.read(filename) @@ -481,6 +483,8 @@ class App(EventDispatcher): self.build_config(config) pass else: + Logger.debug('App: First configuration, create <{0}>'.format( + filename)) config.filename = filename config.write() return config