More logging around rpc