Tweak logging routines.