pretty the log info and add KeyboardInterrupt