alter print and exit to log.fatal