also add new switch /logcheck
also add new switch /logcheck