tenwit wrote:
As you're getting sql output even though you've set show_sql to false, no amount of log4j tweaking is going to help. You must have set show_sql to true in code somewhere and forgotten about it. If you load a configuration from a file, then set properties, then create the session factory, the in-code changes override the config file settings.
It only shows this output when I load objects, not with update or save. I did not set it in code, no.
Log4j is configured as the first thing in the application. Where/how do I then, per session, reset the logging to not use console?