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]. For more options, visit this group at http://groups.google.com/group/gwt-log?hl=en.
