Hey, excellent timing. Thanks! M
On Aug 13, 4:41 am, Fred Sauer <[email protected]> wrote: > On Wed, Aug 11, 2010 at 9:08 PM, nullPainter <[email protected]> wrote: > > Hi, > > > Apologies if this has been addressed before as it's fairly > > straightforward issue, but I can't get stack traces to log using gwt- > > log in combination with log4j. > > > In my log4j log, I get a very brief exception: > > gwt-log 2010-08-12 16:03:04,634 -- FATAL -- Uncaught Exception: > > > with the stack trace itself on the console. I would prefer to have the > > stack trace instead in the log rather than in a separate stdout file. > > > I may be barking up the wrong tree, but in ServerLogImplLog4J.log(), > > the following line is used to do the actual logging: > > logger.log(Level.toLevel(mapGWTLogLevelToImplLevel(record.getLevel())), > > record.getMessage()); > > > Shouldn't this instead be something like: > > logger.log(Level.toLevel(mapGWTLogLevelToImplLevel(record.getLevel())), > > record.getMessage(), getThrowable()); > > You are correct. The missing stack traces have been fixed in > gwt-log-3.0.3.jar > > http://code.google.com/p/gwt-log/downloads/list > > > Or is this by design? > > > -- > > 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.
