@@ -169,7 +169,7 @@ def check_cache_json_content(self, json_content):
169169
170170 def load_cache (self ):
171171
172- logger .debug ("Loading cached file paths from cache.json file and QSettings..." )
172+ logger .info ("Loading cached file paths from cache.json file and QSettings..." )
173173 cached_unreached_paths = []
174174 if self .cache_qsetting_key in self .allKeys ():
175175 cached_unreached_paths = self .get_value (self .cache_qsetting_key , [], list )
@@ -235,12 +235,20 @@ def check_db_connection_validity(self, db_connection: dict):
235235
236236 def load_db_connections (self ):
237237
238- logger .debug ("Loading database connections from db_connections.json file and QSettings..." )
238+ logger .info ("Loading database connections from db_connections.json file and QSettings..." )
239239 db_connections_json_content = self .load_db_connections_from_json ()
240240 db_connections_qsettings_content = self .load_db_connections_from_qsettings ()
241241
242242 self .db_connections_content = self .merge_db_connections (db_connections_json_content , db_connections_qsettings_content )
243243
244+ for dbms in self .db_connections_content :
245+ db_connection_names = [db_connection .get ("connection_name" ) for db_connection in self .db_connections_content .get (dbms )]
246+ logger .info (
247+ "{} {} connection(s) retrieved : {}" .format (
248+ len (self .db_connections_content .get (dbms )), dbms , ", " .join (db_connection_names )
249+ )
250+ )
251+
244252 def load_db_connections_from_json (self ):
245253
246254 json_content = self .load_json_file (self .db_connections_json_path )
@@ -355,7 +363,7 @@ def get_default_config_content(self):
355363
356364 def load_config (self ):
357365
358- logger .debug ("Loading config from config.json file and QSettings..." )
366+ logger .info ("Loading config from config.json file and QSettings..." )
359367 config_json_content = self .load_config_from_json ()
360368 config_qsettings_content = self .load_config_from_qsettings ()
361369
@@ -556,7 +564,7 @@ def clean_quicksearch_url(self, url):
556564
557565 def load_quicksearches (self ):
558566
559- logger .debug ("Loading quicksearches from quicksearches.json file and QSettings..." )
567+ logger .info ("Loading quicksearches from quicksearches.json file and QSettings..." )
560568 quicksearches_json_content = self .load_quicksearches_from_json ()
561569 quicksearches_qsettings_content = self .load_quicksearches_from_qsettings ()
562570
0 commit comments