Added back some code lost by the logging patch, made the keyvalidated event handler actually work in the easy case.
Added back some code lost by the logging patch, made the keyvalidated event
handler actually work in the easy case.

pecharmin/bind9,each/bind9-collab,pecharmin/bind9,pecharmin/bind9,pecharmin/bind9,each/bind9-collab,each/bind9-collab,each/bind9-collab,each/bind9-collab,pecharmin/bind9,each/bind9-collab,pecharmin/bind9