How to log outside interactions into Affinity