[core] add --version and strip some annoying log