write some log when add event