loggin exit status