Made changes to logging now writes to file and takes log format.