changes to the logger to make plotting easier