Implement interaction logging