What version of gwt-log are you using?

I should point out that java.util.logging by default doesn't log
info/debug/trace messages, so for testing (until you get things working),
stick with fatal to be extra sure.

On Wed, Jul 28, 2010 at 12:11 PM, Kyle Baley <[email protected]> wrote:

> I'm working on this with Mayumi and can add some further information:
>
> In the client presenter, I put some test log messages:
>
>        Log.fatal( "FATAL message from client" );
>        Log.debug( "DEBUG message from client" );
>        Log.warn( "WARN message from client" );
>        Log.info( "INFO message from client" );
>
> In the Chrome console I can see a call being made to /bam/gwt-log with
> all of these messages. And I can see an entry in the AppEngine console
> that I think corresponds to it but the contents aren't helpful:
>
> 24.206.10.153 - - [28/Jul/2010:12:04:27 -0700] "POST /bam/gwt-log HTTP/
> 1.1" 200 222 "https://myapp.appspot.com/bam/
> 39B0E5B556B0CDA5EC11AF45E49AE893.cache.html" "Mozilla/5.0 (Windows; U;
> Windows NT 6.0; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/
> 5.0.375.99 Safari/533.4,gzip(gfe)" "myapp.appspot.com" ms=281
> cpu_ms=251 api_cpu_ms=0 cpm_usd=0.007105
>
>
> I have identical calls in the server but again, I can't tell if they
> are being called because all the log entries are generic like the one
> above. I've also added log entries using the default
> java.util.logging.Logger and those show up in the log files as
> expected with the full message as well as the proper info, warning,
> error annotation.
>
> So my theory is that the log messages are being sent to the server but
> the actual message isn't being logged as INFO, ERROR, WARNING, etc.
>
> Thanks
> Kyle
>
>
> On Jul 27, 11:51 pm, mayumi <[email protected]> wrote:
> > I'm fairly new to logging.
> > In my current project, we're using GWT, App Engine with gwt-log.
> > I followed all the steps posted on getting started
> > however none of the errors are shown in app engine log section.
> >
> > Whenever server side exceptions are thrown, I see error messages sent
> > to the server, but I don't see anything in app engine log. Please let
> > me know what I am doing wrong.
> >
> > Please help!
> >
> > Here are my configurations:
> >
> > gwt.xml:
> >   <inherits name="com.allen_sauer.gwt.log.gwt-log" />
> >   <extend-property name="log_level" values="DEBUG" />
> >   <set-property name="log_level" value="DEBUG" />
> >   <set-property name="log_DivLogger" value="DISABLED" />
> >   <set-property name="log_RemoteLogger" value="ENABLED" />
> >
> > web.xml:
> >         <servlet>
> >                 <servlet-name>remoteLoggerServiceImpl</servlet-name>
> >                 <servlet-
> > class>com.allen_sauer.gwt.log.server.RemoteLoggerServiceImpl</servlet-
> > class>
> >         </servlet>
> >
> >         <servlet-mapping>
> >                 <servlet-name>remoteLoggerServiceImpl</servlet-name>
> >                 <url-pattern>/bam/gwt-log</url-pattern>
> >         </servlet-mapping>
> >
> > This means I am using java.util.logging to handle the server side
> > errors.
> >
> > loggin.properties in /war
> > .level = WARNING
> >
> > # Set the default logging level for ORM, specifically, to WARNING
> > DataNucleus.JDO.level=WARNING
> > DataNucleus.Persistence.level=WARNING
> > DataNucleus.Cache.level=WARNING
> > DataNucleus.MetaData.level=WARNING
> > DataNucleus.General.level=WARNING
> > DataNucleus.Utility.level=WARNING
> > DataNucleus.Transaction.level=WARNING
> > DataNucleus.Datastore.level=WARNING
> > DataNucleus.ClassLoading.level=WARNING
> > DataNucleus.Plugin.level=WARNING
> > DataNucleus.ValueGeneration.level=WARNING
> > DataNucleus.Enhancer.level=WARNING
> > DataNucleus.SchemaTool.level=WARNING
> >
> > jar file is in class path.
> >
> > Thanks for the great project! Keep up good work!
>
> --
> 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.

Reply via email to