add logging for debugging network util