adding a log output system for svms