|
Don't get Torque's loggin to work: msg#00071jakarta.turbine.torque.user
Hi there, everything works quite fine with Torque 3.1, but i can't get that logging to work (at runtime). I've tried to use/modify the log4j props in Torque.properties, even using the ConsoleAppender, like that, ---- log4j.category.org.apache.torque = DEBUG, org.apache.torque log4j.appender.org.apache.torque = org.apache.log4j.FileAppender #log4j.appender.org.apache.torque = org.apache.log4j.ConsoleAppender log4j.appender.org.apache.torque.file = ./torque.log log4j.appender.org.apache.torque.layout = org.apache.log4j.SimpleLayout #log4j.appender.org.apache.torque.layout.conversionPattern = %d [%t] %-5p %c - %m%n log4j.appender.org.apache.torque.append = false # and added: log4j.logger.org.apache.torque.util.BasePeer = DEBUG ---- I'm relatively sure that the torque-gen.jar is not on my runtime classpath, as mentioned in http://wiki.apache.org/db-torque/FrequentlyAskedQuestions FAQ 12. In addition, telling my container "-Dlog4j.configuration=%CONFIG_DIR%\Torque.properties" with relative or absolute path stayed without result. Can anyone point me out how to configure the logging? Thanks in advance, Daniel |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: autoincrement in PostgreSQL: 00071, Henning P. Schmiedehausen |
|---|---|
| Next by Date: | Re: Don't get Torque's loggin to work: 00071, Thomas Fischer |
| Previous by Thread: | java.lang.NullPointerException: There was no DataSourceFactory configured for the connection TestApp1i: 00071, Klaus Haertel |
| Next by Thread: | Re: Don't get Torque's loggin to work: 00071, Thomas Fischer |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |