How to turn on logging queries in GWT hosted mode?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The iBATIS framework records its interaction with the database through an internal logging mechanism patterned after Apache Log4J. The internal logging mechanism can use one of the three built-in loggers or external logging packages such as Apache Log4J. In order for iBATIS to generate log messages, the application’s config file (log4j.properties or log4j.xml) must be put in default package and contains for example:
That was the configuration. Apart of that you must download log4j library and put it into your classpath. At the moment the newest version is log4j-1.2.16.jar.