spike processing, logging