diff --git a/redlight_server_module.py b/redlight_server_module.py index 7fb8da9..2e99ca1 100755 --- a/redlight_server_module.py +++ b/redlight_server_module.py @@ -78,6 +78,7 @@ class RedlightServerModule: RedlightServerResource(config, self) ) + self.logger = configure_logger() self.logger.info("RedlightServerModule initialized.") class RedlightServerResource: @@ -89,6 +90,7 @@ class RedlightServerResource: self._data_manager = SourceDataManager(module, config) self._source_dict = self._data_manager.get_data() self._api_tokens = ["stong-access-token"] + self.logger = configure_logger() # Logging for debug purposes self.logger.debug(f"Filtered room_id_hashes: {list(self._source_dict.keys())}")