Use Azure diagnostic settings to log information on all client connections to your Azure Cache for Redis instance.

Source