I am new to Python programming. I need help on how to convert below log file into a JSON file.
My log file:
DNSCacheInfo enabled yes Cache