separate out logger and add test format file