To change the log settings for an agent in dialogflow for an agent. Go to list of all the agents.Click on the gear icon next to the agent for which you need to change the log settings
All you need to do is toggle the above buttons to log the interactions to dialog flow as well as Google Cloud