Skip to content

Commit fd7d7a7

Browse files
committed
add initialization message for apps
1 parent ca2a9f5 commit fd7d7a7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

appdaemon/app_management.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ async def initialize_app(self, name):
155155

156156
# Call its initialize function
157157
try:
158+
self.logger.info(f"Calling initialize() for {name}")
158159
if asyncio.iscoroutinefunction(init):
159160
await init()
160161
else:
@@ -295,7 +296,7 @@ def get_app_debug_level(self, app):
295296
async def init_object(self, name):
296297
app_args = self.app_config[name]
297298
self.logger.info(
298-
"Initializing app %s using class %s from module %s",
299+
"Loading app %s using class %s from module %s",
299300
name,
300301
app_args["class"],
301302
app_args["module"],
@@ -355,7 +356,7 @@ async def init_object(self, name):
355356

356357
else:
357358
self.logger.warning(
358-
"Unable to find module module %s - '%s' is not initialized",
359+
"Unable to find module module %s - '%s' is not loaded",
359360
app_args["module"],
360361
name,
361362
)

0 commit comments

Comments
 (0)