fix requeue
change log format
use what instead of pexpect