From c7c31fb48d502119989ae04ab806d11616ef46a4 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Tue, 27 Feb 2024 00:02:30 +0100 Subject: [PATCH] Log the canonical name of plugins when starting them. --- platypush/plugins/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/platypush/plugins/__init__.py b/platypush/plugins/__init__.py index a4ceb73c..0fa7d62b 100644 --- a/platypush/plugins/__init__.py +++ b/platypush/plugins/__init__.py @@ -230,7 +230,9 @@ class RunnablePlugin(Plugin): if self.disable_monitor: return - self.logger.info('Starting %s', self.__class__.__name__) + self.logger.info( + 'Starting plugin [%s]', get_plugin_name_by_class(self.__class__) + ) while not self.should_stop(): try: