bugfix
modify design
add logwatcher