Enh: added event logger