Updating logging routines