add gen_event module and log config file