Reduce logger RAM usage