I had the following working organization
I wanted to reorganize my webapp as follow:
The `Logger.info("foobar")` still logs well (after having set the `log4jConfigLocation` context parameter), and the app still has a working database connection.
The problem is that Hibernate doesn't log anything anymore, even if `hibernate.show_sql` is set to `true`. Any idea why? Should specify the new path to the `log4j.xml` file to Hibernate? If yes, how?
以上就是Hibernate doesn't log anything anymore, since I relocated the log4j.xml and hibernate.properties files的详细内容，更多请关注web前端其它相关文章！