Add log event system, update import XML task