The client side logging is very awesome. Great job! I'm trying to get
server side working here and I've added the:
  <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>

to my web.xml

and

  <inherits name="com.allen_sauer.gwt.log.gwt-log-DEBUG" />
   <set-property name="log_RemoteLogger" value="ENABLED" />
to LogTest.gwt.xml

and dropped the jar into the server library, but when I call:
    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");

I don't get errors, but nothing shows up in the log either. Is there
something else I"m missing?

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]

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