Stephen,
Easiest thing is to default all logging to the console, until you have decides what to do try this as your log4j.properties file
log4j.debug=true # log4j.rootCategory=debug, stdout # # BEGIN APPENDER: CONSOLE APPENDER (stdout) log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.SimpleLayout
The debug line will show you what's happening when log4j starts (or the web container finds the log4j.propertues file at least).
A great source of log4j info is http://www.vipan.com/htdocs/log4jhelp.html
regards
Eoin
Stephan Huez wrote:
Hi,
I've seen a lot of mails about the configuring log4j to work with iBatis but it still unfortunately works for me. I have a log4j.properties file in the root folder, Log4J is in the classpath and it still does not work.
Any idea?
Cheers,
Steph