logger output updated, cli improved on ctrl+c and ctrl+d