improved logging from server