Have you set the default logging level on the server?
That's either the log4j or java.util.logging setting.

Fred


On Mon, Sep 21, 2009 at 11:08 AM, Sean <[email protected]> wrote:

>
> My post didn't seem to show up. Going to try again. But I'm also
> having trouble getting server side logging to work.
>
> In my gwt.xml file I have:
>   <inherits name="com.allen_sauer.gwt.log.gwt-log-DEBUG" />
>   <set-property name="log_RemoteLogger" value="ENABLED" />
>
> In my web.xml I have:
>   <servlet>
>  <servlet-name>gwt-log-remote-logger-servlet</servlet-name>
>  <servlet-
> class>com.allen_sauer.gwt.log.server.RemoteLoggerServiceImpl</servlet-
> class>
>  </servlet>
>
>  <servlet-mapping>
>  <servlet-name>gwt-log-remote-logger-servlet</servlet-name>
>  <url-pattern>/gwt-log</url-pattern>
> </servlet-mapping>
>
> and in GreetingServiceImpl I have:
>     Log.info("SERVER: This is a 'INFO' test message");
>            Log.warn("SERVER: This is a 'WARN' test message");
>            Log.error("SERVER: This is a 'ERROR' test message");
>            Log.fatal("SERVER: This is a 'FATAL' test message");
>
> None of those show up, but the same calls on Client side work fine. I
> also put the logging jar in web-inf/lib as well.
>
> On Aug 12, 1:06 pm, Fred Sauer <[email protected]> wrote:
> > Ben,
> >
> > On Wed, Aug 12, 2009 at 5:09 AM, Ben2008 <[email protected]> wrote:
> >
> > > Hi,
> > > i could not find answers to this questions:
> >
> > > 1. how do i enable serverside logging?
> > > If i just want to log something i get an error like
> > > 12.08.2009 12:02:31 com.google.apphosting.utils.jetty.JettyLogger warn
> > > WARNUNG: failed startUp
> > > java.lang.NoClassDefFoundError: com/allen_sauer/gwt/log/client/Log
> >
> > You simply will need to include gwt-log-x.x.x.jar in the server
> classpath.
> > Optionally include log4j if you like that style of logging.
> >
> >
> >
> > > Clientside logging works fine.
> > > It is just a standard project ... i did not really change much to the
> > > gwt project.
> >
> > > I am using GWT 1.7 and the latest gwt-log
> >
> > > 2. what is this gwt incubator log ??
> > > It seems that those both are the same, but the incubator log is not
> > > uptodate? What should i prefer to use?
> >
> > The incubator logging was derived from gwt-log but has since forked
> > somewhat.
> >
> > Shamelessly, I'd recommend gwt-log :)
> >
> > Fred
> >
> >
> >
> > > Thanks
> >
> > --
> > Fred Sauer
> > Developer Advocate
> > Google Inc. 1600 Amphitheatre Parkway
> > Mountain View, CA 94043
> > [email protected]
>
> >
>


-- 
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