stats logging for svm