I have a log4j.xml file in the top level source folder of my project. Eclipse automatically copies that file to WEB-INF/classes (i.e. not WEB-INF/lib) where it can be found.
On Tue, May 18, 2010 at 7:31 AM, Maurice <[email protected]> wrote: > Hi, > > I have gwt-log installed and it works client-side, but I cannot > configure output on the server. > > The log4j jar is included in the WEB-INF/lib directory and is being > loaded, but this warning appears: > > log4j:WARN No appenders could be found for logger > (org.apache.jasper.compiler.JspRuntimeContext). > log4j:WARN Please initialize the log4j system properly. > log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig > for more info. > > I have added log4j.properties to the classes folder in WEB-INF, but > this message still appears. > > Any idea how to fix it? I think I can use an option to the JVM: - > Dlog4j.configuration={path to file} but should I have to do this?! > > Thanks! > > Maurice > > -- > You received this message because you are subscribed to the Google Groups > "gwt-log" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<gwt-log%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/gwt-log?hl=en. > > -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 [email protected] -- You received this message because you are subscribed to the Google Groups "gwt-log" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/gwt-log?hl=en.
