add logging for sphinx