This commit is contained in:
bskjon 2024-10-24 00:21:36 +02:00
parent 2d2929da8f
commit 612467495a

View File

@ -61,6 +61,7 @@ logging.basicConfig(
]
)
logger = logging.getLogger(__name__)
logger.info(f"Log level set to {configured_level}")
class EventsPullerThread(threading.Thread):
@ -154,6 +155,8 @@ class EventsPullerThread(threading.Thread):
try:
logging.debug("Looking for new available events")
rows = self.getEventsAvailable(connection=self.connection)
if (len(rows) == 0):
logger.debug("No events found..")
for row in rows:
if (row is not None):
try: