Reduce logger ram usage