Added debug output to warrior.log.