start logging implementation