more logging for clientside db api