On setting the fmt = 'pretty', the logs are being stored in pretty format in the web.log file instead of json format. 
On setting the fmt = 'pretty', the logs are being stored in pretty format in the web.log file instead of json format.