update log4j config file
update publish logcial and add interface for subcribe