This should be made more generic so that the format can be picked up from the config file as per the user wish. We cannot assume here that everyone needs logs in this format.