If you have a lo4j.jar on the server, then this approach should work. You can set the log4j.debug - see http://logging.apache.org/log4j/1.2/faq.html#sysprops
On Mon, Aug 29, 2011 at 2:26 PM, Rud <[email protected]> wrote: > Should the log4j.properties file control the logging pattern? Or do I > have to add code? > > I have: > > log4j.logger.org.apache=DEBUG > > # Configure the console as our one appender > log4j.appender.stdout=org.apache.log4j.ConsoleAppender > log4j.appender.stdout.layout=org.apache.log4j.PatternLayout > log4j.appender.stdout.layout.ConversionPattern=%d{HH:mm:ss,SSS} %-5p > [%c] - %m%n > > In the file and it is at the root of the classes directory. It seems > to have no effect. But I'd be surprised if that is a valid properties > file since I can't find a good reference on how to create one. > > Rud > > > On Aug 29, 3:17 pm, Fred Sauer <[email protected]> wrote: > > Client side you can use log_pattern property. > > > > Server side you can use a custom handler (java.util.logging) or > > PatternLayout (log4j). > > -- > 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. > > -- 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.
