TEST: logger: reduce memory usage