using log_plays in ansible

Hi,

I am new to ansible and wanted to use “log_play” callback plugins.
I am not able to get my head around on how to use it.

I have created a writable directory “/var/log/ansible/hosts”

Below is a sample playbook.