Add logging related stuff