Skip to content

Commit

Permalink
change some info to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
David Erb committed Apr 20, 2023
1 parent 1189a5f commit 2030acf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/dls_normsql/aiosqlite.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 2030acf

Please sign in to comment.