I am building an application using Javamail.
For logging purposes, I set:
properties.put("mail.debug", true);
That enabled logging for Javamail and gives me a lot of useful debugging info.
Now, I installed Hibernate which also prints a lot of info to the console (except for the SQL statements it uses) but all out of sudden, the Javamail logging info disappeared.
I am not sure what the cause is but I assume that Hibernate has something to do with this.
Does anyone know how to solve or at least debug this issue?
I replaced my entire log4j config file with this and that solved the problem: