better logging for sphinx