Skip to content

Commit cd5c479

Browse files
committed
change log level from info to debug for database thread info
1 parent 7dc1d0d commit cd5c479

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

thingsboard_gateway/storage/sqlite/database.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def init_table(self):
105105
self.__log.exception("Failed to create table or migrate data! Error: %s", e)
106106

107107
def run(self):
108-
self.__log.info("Database thread started %r", id(self))
108+
self.__log.debug("Database thread started %r", id(self))
109109
interval = self.settings.oversize_check_period * 60
110110
sleep_time = 0.2
111111

@@ -131,7 +131,7 @@ def run(self):
131131

132132
except Exception as e:
133133
self.__log.exception("Error in database thread: %s", exc_info=e)
134-
self.__log.info("Database thread stopped %r", id(self))
134+
self.__log.debug("Database thread stopped %r", id(self))
135135
self.db.close()
136136

137137
def process_file_limit(self):

0 commit comments

Comments
 (0)