From 2030acf5d37857bd7bbda7341fac6827a92e4862 Mon Sep 17 00:00:00 2001 From: David Erb Date: Thu, 20 Apr 2023 10:47:31 +0100 Subject: [PATCH] change some info to debug --- src/dls_normsql/aiosqlite.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/dls_normsql/aiosqlite.py b/src/dls_normsql/aiosqlite.py index 5d2b85d..b7a1eb8 100644 --- a/src/dls_normsql/aiosqlite.py +++ b/src/dls_normsql/aiosqlite.py @@ -240,7 +240,7 @@ async def create_table(self, table, should_commit: Optional[bool] = True): sql = "CREATE TABLE %s\n(%s)" % (table.name, ",\n ".join(fields_sql)) - logger.info("\n%s\n%s" % (sql, "\n".join(indices_sql))) + logger.debug("\n%s\n%s" % (sql, "\n".join(indices_sql))) await self.__connection.execute(sql) @@ -277,7 +277,6 @@ async def insert( values_rows = [] - logger.info(f"inserting {table.name} fields {list(table.fields.keys())}") insertable_fields = [] for field in table.fields: # The first row is expected to define the keys for all rows inserted.