> >1) Have you tried simplifying your settings? Maybe just use FileAppender > >instead of the DailyRollingFileAppender. You just want to see if you get > >any messages to start with... > > Yep, that's the way to go.
Ok, I have already some experience with log4j but in the single deployed applications (particulary with ASMonitor that has worked alone very well). I 've used RollingFileAppender configured in the same way and it worked fine. > >2) Have you set the -Dlog4j.debug=true in the tomcat command line? This > >will print out messages from log4j as it initializes using the property > >file. I don't know which tomcat log they will end up in (or just end up in > >the console), but you should see them somewhere. I use internal debug of log4j from the very beginning of using it. there is nothing suspicious in the output (especially no errors). > The fact that no logging occurs when log4j.properties is placed in > $CATALINA_HOME\classes is highly suspicious. I'd look into that first. Use > a really simple config file and a observe the results. Well, I believe it is not. In my configuration log messages form webapps should be logged in the files. Output frome the internal debuger of log4j shows that configuration is read without errors. I have no idea why the log files are created but no messages are logged into them. Besides, is my configuration really too complicated? > >3) You may want to look at using an instance of LoggingRepository per web > >application. Each web app would then have it's own space to configure use, > >separate from the containers space. Ceki has a web page that discusses this > >somewhat, but I cannot find the link to it at the moment...Ceki? > > See http://apache.org/~ceki/multHierarchy.tar.gz Thank you for your suggestion. I 'll check it and see if this helps. Michal -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>