logger: release a bit of ram

Allocate less memory for logger parts.