logging and dbinterception