Can you send a simple sample project as an example. I'm unable to reproduce this with gwt-log 3.1.1
Thanks Fred On Thu, Apr 7, 2011 at 8:11 AM, Cimballi <[email protected]> wrote: > Fred, I still have the same problem. I will give you more informations > on my configuration, it may help you. > > GWT 2.2.0, SLF4J 1.6.1 + Log4J 1.2.14 > > My gwt.xml : > <inherits name="com.allen_sauer.gwt.log.gwt-log-DEBUG" /> > <!--<inherits name="com.allen_sauer.gwt.log.gwt-log-WARN" /> --> > <!--<inherits name="com.allen_sauer.gwt.log.gwt-log-OFF" /> --> > <inherits name="com.allen_sauer.gwt.log.gwt-log-RemoteLogger" /> > <set-property name="log_ConsoleLogger" value="DISABLED" /> > <set-property name="log_DivLogger" value="DISABLED" /> > <set-property name="log_FirebugLogger" value="DISABLED" /> > <set-property name="log_GWTLogger" value="DISABLED" /> > <set-property name="log_SystemLogger" value="ENABLED" /> > <set-property name="log_WindowLogger" value="DISABLED" /> > <set-configuration-property name="log_pattern" > value="%d | %-5p | %-40C{1} | %m%n" /> > > My web.xml : > <!-- RemoteLoggerService --> > <servlet> > <servlet-name>RemoteLoggerService</servlet-name> > <servlet- > class>com.allen_sauer.gwt.log.server.RemoteLoggerServiceImpl</servlet- > class> > <init-param> > <param-name>symbolMaps</param-name> > <!-- This value assumes a GWT compile with '-deploy war/WEB-INF/ > deploy/' --> > <param-value>WEB-INF/deploy/xxx/symbolMaps/</param-value> > </init-param> > </servlet> > <servlet-mapping> > <servlet-name>RemoteLoggerService</servlet-name> > <url-pattern>/xxx/gwt-log</url-pattern> > </servlet-mapping> > > > I use this kind of statements : > Log.debug("xxx"); > > In Eclipse console I see this : > 2011-04-07 09:59:34,234 | DEBUG | > RequestCallbackAdapter | xxx > > And in log4j log file : > 2011-04-07 09:59:33,609 | DEBUG | gwt- > log | log > | xxx > > Before, my project was configured with GWT 2.0.4 and gwt-log 3.0.4, > logs in console were displaying the class name, not the logs in log4j > but I think this is normal. And since I updated to GWT 2.2.0 and gwt- > log 3.1.à or 3.1.1 I don't see anymore the class name in the Eclipse > console.At first I didn't added the symbolMaps param and I saw the > warning in the log4j logs, but adding it didn't change anything (with > my configuration, I don't use javascript logging). > > Thanks for your help ! > > -- > 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. > > -- 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.
