configure logging
update primary keys for tables with ext_dataset_id