You've defined a logger above but then use `puts` here...