Hi Fred Thank you for fixing this. Well what can I say more ;) It works as expected.
Marcin Misiewicz On 11 Gru, 07:03, Fred Sauer <[email protected]> wrote: > Marcin, > > Thanks for reporting this. If you've been following SVN you may have been > seen that I've been refactoring the RemoteLogger thanks to your input. > > If you'd like to try it out, see the attached jar (suitable for GWT 2.0 > only). > > Fred > > On Fri, Nov 27, 2009 at 11:51 AM, Marcin Misiewicz <[email protected]>wrote: > > > > > > > Hi > > > I'v set up the log_pattern as follows : > > <set-configuration-property name="log_pattern" value="%d %-5p [%c] > > (%t) %m%n"/> > > > This is the pattern which I use on extensively on the server side of > > my app. Unfortunately gwt-log logs looks like this on the server side > > with this pattern : > > 2009-11-27 20:20:28,096 DEBUG [gwt-log] (http-127.0.0.1-8080-2) > > [127.0.0.1] 2009-11-27 20:20:27,939 DEBUG [-] (-) Log message > > > As you can see in the second part of this line after DEBUG should be > > category, unfortunately there is only [-], how can I configure gwt-log > > to display categories or name of the class which logged the message. > > > The second problem is how to get rid of the first part of the log > > message. I mean this part > > 2009-11-27 20:20:28,096 DEBUG [gwt-log] (http-127.0.0.1-8080-2) > > [127.0.0.1] > > > I guess this part is because my appender layout on the server side is > > %d %-5p [%c] (%t) %m%n, and that layout works fine, except gwt-log. It > > seems that the other part this line : > > 2009-11-27 20:20:27,939 DEBUG [-] (-) Log message > > comes from gwt-log as a message, and my appender simply put this in > > the place where the message should be appended. > > > So perhaps some of you have faced similar problem, and resolved this. > > I'm not an expert in log4j, can I somehow filter the output , to show > > only second part of the log, which really comes from client ? > > > And how can I display categories in my logs ? > > > Marcin > > > -- > > > 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] > > gwt-log-r441.jar > 182KZobaczPobierz -- 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.
