Alex, That should work in Development Mode.
Unfortunately in Web Mode, optimizations are currently too aggressive, preventing useful filenames and line numbers in most cases. On Sat, Jul 3, 2010 at 5:33 AM, alex <[email protected] > wrote: > Hi Fred, > > its not working for me. > > Im trying to log messages on the server side (with or without log4j). > this is what I get: > > 03.07.2010 14:18:41 com.allen_sauer.gwt.log.server.ServerLogImplJDK14 > log > WARNUNG: TEST > > > And this is my configuration of myproject.gwt.xml: > ... > <!-- gwt-log parameters******************************** START --> > <inherits name="com.allen_sauer.gwt.log.gwt-log-DEBUG" /> > <set-configuration-property name="log_pattern" value="(%C:%L) %d > [%-5p] %m%n" /> > <set-property name="log_ConsoleLogger" value="DISABLED" /> > <set-property name="log_DivLogger" value="DISABLED" /> > <set-property name="log_FirebugLogger" value="DISABLED" /> > <set-property name="log_GWTLogger" value="DISABLED" /> > <set-property name="log_WindowLogger" value="DISABLED" /> > <set-property name="log_SystemLogger" value="ENABLED" /> > <set-property name="log_RemoteLogger" value="ENABLED" /> > <!-- gwt-log parameters******************************** END --> > ... > > This is how Im trying to log: > Log.warn("TEST"); > > Kind regards, > Alex > > -- > 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.
