emmanuelbernard/hibernate-ogm — comment on commit ef72fb3f9b552820f84b0c77c05c144b8df79853
File: hibernate-ogm-core/src/main/java/org/hibernate/ogm/dialect/GridDialectLogger.java line 61
By slorber:

I don't know what's the best but as far as i'm concerned i never had the need to enabled show_sql at runtime, only other loggers in some occasions...
The overhead should be small