Unverified Commit f5cd2c72 authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

remove verbose logging

parent ad9fcb1d
......@@ -206,7 +206,6 @@ def _create_sql_stmt(table_name, record, fields):
def _create_entities_entry(record, mariadb_cursor):
fields = ['sig', 'uri', 'access', 'proto']
sql_stmt = _create_sql_stmt('entities', record, fields)
logging.info(sql_stmt)
mariadb_cursor.execute(sql_stmt)
......@@ -313,7 +312,6 @@ class MediametadataToDB:
_write_values_in_db(mariadb_cursor, record_values_for_db)
mariadb_connection.commit()
for record_value in record_values_for_db:
logging.info(f'Record {record_value["sig"]} successfully indexed')
reporter.send_message(record_value['sig'], "SUCCESS", "Indexing successful")
record_values_for_db = []
consumer.commit()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment