If you include the log4j jar on the server classpath, then you configure log4j.properties or log4j.xml to include line number information.
On Tue, Dec 22, 2009 at 2:26 PM, tomekc <[email protected]> wrote: > Hello, > > I have standard gae/j + gwt project. On client side I use gwt-log > framework which works great. On server side worked default logger from > java api. Now I would like to use also gwt-log to logs events. > When I compile servlet with e.g. Log.info("some info"); I get: > > 2009-12-22 22:15:16 com.allen_sauer.gwt.log.server.ServerLogImplJDK14 > info > INFO: info > > I don't have information from which my class/method event was thrown. > com.allen_sauer.gwt.log.server.ServerLogImplJDK14 is certainly logger > class... > > Is there a way to get really event's source ? > > Regards,tomek. > > -- > > 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.
