Add code comment around batch grid dialect use of ThreadLocal
OGM-578 Avoid unnecessary object creations in log.trace/debug/info calls