Thanks, it works fine On 14 juin, 19:06, Fred Sauer <[email protected]> wrote: > On Mon, Jun 14, 2010 at 4:12 PM, ErickLDS <[email protected]> wrote: > > Hi, > > > I'm trying to get all logs in Client-side in the Server-side but it > > does not work and i don't know why...here my sources: > > > in gwt.xml : > > <!-- Logger --> > > <inherits name="com.allen_sauer.gwt.log.gwt-log-DEBUG" /> > > <set-property name="log_RemoteLogger" value="ENABLED" /> > > > That looks good. > > You may also need a servlet and servlet-mapping entry in your web.xml for > gwt-log > > > in my application (Client-side) : > > RemoteLogger remoteLog = new RemoteLogger(); > > remoteLog.log(new LogRecord("m", Log.LOG_LEVEL_DEBUG, "Hello > > World", null)); > > > Instead of that you should only use the usual API, e.g. > > Log.debug("foo"); > > If you have the log4j jar installed on the server then that "foo" log > message should show up. If you don't have a log4j jar, gwt-log will default > to java.util.logging, which has a higher default log level. A good test is > just this: > > Log.fatal("bar"); > > > > > > > Could you please help me ? > > If you could give me an example, it would be great !!!! > > > Bye > > Erick > > > -- > > 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] Masquer le texte des messages précédents - > > - Afficher le texte des messages précédents -
-- 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.
