log error on server