logging pypjua events: use state of the event not the current state

darcs-hash:20081125091809-b2873-f231123d3a49d70d50e140c146a57f40efc5bb2c