Reformatted the logger