OGM-578 Reduce object creation during log.trace/debug/info