improve sword logging, partially.