add libevent log callback