Fred has shown me the right solution. Here it is:
Use version 3.0.4 and in "YourModule".gwt.xml add <inherits name="com.allen_sauer.gwt.log.gwt-log-DEBUG" /> <inherits name="com.allen_sauer.gwt.log.gwt-log-RemoteLogger" /> Thanks, Fred! PS. <inherits name="com.allen_sauer.gwt.log.gwt-log-DEBUG" /> // The line I missed On Nov 15, 2:47 pm, Fred Sauer <[email protected]> wrote: > <!-- In gwt-log-3.0.3 or later --> > <inherits name="com.allen_sauer.gwt.log.gwt-log-RemoteLogger" /> > > <!-- In gwt-log-3.0.2 or earlier releases only, use this instead --> > > <set-property name="log_RemoteLogger" value="ENABLED" /> > > Does that help? > > On Fri, Nov 12, 2010 at 10:49 AM, SunSeaAndPalms < > > > > > > > > > > [email protected]> wrote: > > Hi, > > > I am building application with GWT 2.0.4. I decided to add a server > > side logging of client errors. I had gwt-log 3.0.1 in my local maven > > repository and tried it. I had problems with it when logging > > exceptions. As it goes from the mail archieves (http://www.mail- > > archive.com/[email protected]/msg00485.html) it was the bug of > > 3.0.1 version and I thought it will be fixed in future. So I installed > > a more suitable 3.0.4 version of gwt-log. And added <inherits > > name="com.allen_sauer.gwt.log.gwt-log-RemoteLogger"/> line to my > > module description file. And now during the compile I have the > > following error: > > > [INFO] Loading inherited module 'com.allen_sauer.gwt.log.gwt-log- > > RemoteLogger' > > [INFO] [ERROR] Property 'log_RemoteLogger' not found > > [INFO] [ERROR] Failure while parsing XML > > [INFO] com.google.gwt.core.ext.UnableToCompleteException: (see > > previous log entries) > > [INFO] at com.google.gwt.dev.cfg.ModuleDefSchema > > $PropertyAttrCvt.convertToArg(ModuleDefSchema.java:875) > > [INFO] at > > com.google.gwt.dev.util.xml.HandlerArgs.convertToArg(HandlerArgs.java: > > 64) > > [INFO] at > > com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java: > > 214) > > ............. > > [INFO] [ERROR] Unexpected error while processing XML > > [INFO] com.google.gwt.core.ext.UnableToCompleteException: (see > > previous log entries) > > ............. > > > Does anybody know the reason? > > > -- > > 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.
