reduce logger overhead