reduce logger RAM usage [neobuddy89]