You might try a log4j group or FAQ since the issue is not GWT specific or gwt-dnd specific
Fred, on my Android phone On Jun 30, 2010 2:53 AM, "ctasada" <[email protected]> wrote: > Hi guys, > > I've a GWT webapp that I'm working with that can be executed both in > Jetty and Tomcat. I'm looking for a way to properly configure the > log4j appenders. > > The appenders work fine, but are always complaining about the other > appender invalid path (and when executed in Eclipse, is complaining > about both). Any idea about how can I solve this problem? > > This is my current log4j.xml file > > <?xml version="1.0" encoding="UTF-8" ?> > <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> > > <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"> > > <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender"> > <param name="Target" value="System.out" /> > <param name="Threshold" value="DEBUG" /> > <layout class="org.apache.log4j.PatternLayout"> > <param name="ConversionPattern" > value="%d{ISO8601} [%-5p][%c{1}][%X{remoteAddr} %X{logSequence}] %m > %n" /> > </layout> > </appender> > <appender name="ROLLINGFILE_TOMCAT" > class="org.apache.log4j.RollingFileAppender"> > <param name="file" value="${catalina.home}/logs/FarmerWIFE.log" /> > <param name="MaxFileSize" value="100KB" /> > <!-- Keep one backup file --> > <param name="MaxBackupIndex" value="10" /> > <layout class="org.apache.log4j.PatternLayout"> > <param name="ConversionPattern" > value="%d{ISO8601} [%-5p][%c{1}][%X{remoteAddr} %X{logSequence}] %m > %n" /> > </layout> > </appender> > <appender name="ROLLINGFILE_JETTY" > class="org.apache.log4j.RollingFileAppender"> > <param name="file" value="${jetty.home}/logs/FarmerWIFE.log" /> > <param name="MaxFileSize" value="100KB" /> > <!-- Keep one backup file --> > <param name="MaxBackupIndex" value="10" /> > <layout class="org.apache.log4j.PatternLayout"> > <param name="ConversionPattern" > value="%d{ISO8601} [%-5p][%c{1}][%X{remoteAddr} %X{logSequence}] %m > %n" /> > </layout> > </appender> > <!-- Changes the logging level of the specified package --> > <category name="org.apache"> > <priority value="INFO" /> > </category> > > <root> > <priority value="debug" /> > <appender-ref ref="CONSOLE" /> > <appender-ref ref="ROLLINGFILE_TOMCAT" /> > <appender-ref ref="ROLLINGFILE_JETTY" /> > </root> > > </log4j:configuration> > > > Thanks a lot. > > -- > 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. > -- 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.
