1. How do I activate the log4j.properties file? forum.hibernate.orgHey, I want to activate the log4j.proporties file in Hibernate. I checked the documentation but I don't know how to activate in by adding it to the classpath (like an environment variable or what?). Besides that I'm working in Websphere so I'm wondering if it's possible to add the log4j.proporties to the JBuild Path or not? If yes how? - since ... |
2. log4j properties file forum.hibernate.orghey there, i have a problem with my log4j.properties file. By executing my programm i get the following error messages: -------------------------------------------------------------- log4j:WARN No appenders could be found for logger (net.sf.hibernate.cfg.Environment). log4j:WARN Please initialize the log4j system properly. -------------------------------------------------------------- The file lies below my class.root. If i put it into the class.root i works fine. Must that file be in the class.root? ... |
3. in book 'Hibernate in action' about log4j.properties entry forum.hibernate.orgGood morning in chapter 2 of the book hibernate in action, paragraph 2.4.3 "logging" in the log4j.properties example given, there are the following lines: ### log PreparedStatement cache activity log4j.logger.net.sf.hibernate.ps.PreparedStatementCache=info but according to the hibernate javadoc available on line (hibernate.org), the corresponding class PreparedStatementCache does not exist. Any ideas ? thank you |
4. log4j.properties configuration forum.hibernate.org |