add event logger