:-) Tonio, my man. Thank you so much for your reply. I'm looking for some alternatives.
I'll see to post (mail) my conclusions if any. f(t) On Fri, Jun 5, 2009 at 3:36 PM, Tonio Caputo <[email protected]> wrote: > Francisco, > > I'm not a wicket expert (as you know), the log4j configuration seems to be > ok, so probably > the reason for the problem is in other place. > > hope this helps > tonio > > > > > On Thu, Jun 4, 2009 at 5:18 PM, Francisco Diaz Trepat - gmail < > [email protected]> wrote: > > > Hi all, > > I'm having a small problem trying to log to an additional file with a > > org.apache.log4j.FileAppender. > > > > Problem: Does not log Wicket stuff to the file. For instance this > message: > > > > "WARNING: Tried to retrieve a localized string for a component that has > not > > yet been added to the page."..... > > > > Is written to the StdOut which netbeans shows in its output window. But > > this > > message doesn't appears in my MyLog.log file. > > > > I have this log4j property file: > > > > log4j.debug=false log4j.rootLogger=INFO,Stdout,Fileappender > > log4j.logger.org=INFO > > log4j.logger.com=INFO log4j.logger.net=INFO log4j.logger.nl=INFO > > log4j.logger.org.apache.wicket=INFO > > log4j.logger.org.apache.wicket.protocol.http.HttpSessionStore=INFO > > log4j.logger.org.apache.catalina.cluster=INFO > > log4j.logger.org.apache.wicket.version=INFO > > log4j.logger.org.apache.wicket.RequestCycle=INFO > > log4j.appender.Stdout=org.apache.log4j.ConsoleAppender > > log4j.appender.Stdout.layout=org.apache.log4j.PatternLayout > > log4j.appender.Stdout.layout.conversionPattern=%-5p - %-26.26c{1} - %m\n > # > > Additional configuration > > log4j.appender.Fileappender=org.apache.log4j.FileAppender > > log4j.appender.Fileappender.file=${mylog.log.dir}/logs/MyLog.log > > log4j.appender.Fileappender.layout=org.apache.log4j.PatternLayout > > log4j.appender.Fileappender.layout.conversionPattern=%d [%t] %p - %m%n > > > > Is this correct? > > > > Can anyone comment? > > > > Thanks, > > f(t) > > >
