Sanne/hibernate-core — comment on commit 40355a6d6b46ee06ab6df4dee56ebbc34d6ce5e5
File: hibernate-core/src/main/java/org/hibernate/engine/jdbc/internal/JdbcResourceRegistryImpl.java line 64
By emmanuelbernard:

Actually, we probably should use the cleaner tracef approach without guards as long as the param object is not transformed before being passed.

log.tracef("Registering statement [%s]", statement);

Have you found otherwise in the profiling data? It might be a profiling artifact if so?