checking in apache commons cli and logging