From c077f9aebbd39b38530a2bbeb40b50be92196e64 Mon Sep 17 00:00:00 2001 From: James Lu Date: Wed, 9 Nov 2016 22:56:38 -0800 Subject: [PATCH] DataStore: log the name of the current database implementation to DEBUG --- structures.py | 1 + 1 file changed, 1 insertion(+) diff --git a/structures.py b/structures.py index 8bc0055..6701b41 100644 --- a/structures.py +++ b/structures.py @@ -35,6 +35,7 @@ class DataStore: self.filename = filename self.tmp_filename = filename + '.tmp' + log.debug('(DataStore:%s) using implementation %s', self.name, self.__class__.__name__) log.debug('(DataStore:%s) database path set to %s', self.name, self.filename) self.save_frequency = save_frequency or conf.conf['bot'].get('save_delay', 300)