cleaning up logging to make it easier to spot errors on the server