cleaned up logging output (server side)