reworked logging in add and query
Merge branch 'reimplementing_auto_testing'
added the debug log for get