remove logger and use logbook