Added logging for invoke and revoke, indentation