added logger implemention for CtrlC