add rule for ignore macOSX file
add a logger feature