switch from printing to logging