add *.swp to gitignore
fix bug: require logger any evn