Implement access logging.