Check out the log_pattern in the wiki:
  code.google.com/p/gwt-log/wiki/GettingStarted

On Mon, Mar 1, 2010 at 6:32 AM, emerix <[email protected]> wrote:

> Hi,
> I'm using GAE+GWT and gwt-log and it work great on the client.
> As I have some objects shared between client and server I wanted to
> use gwt-log on the server too.
> Unfortunately I don't know how to configure the log formating.
>
> I put the log4j .jar in the classpath and here is my log4j.properties
> log4j.rootLogger=DEBUG, gwt-log
> log4j.appender.gwt-log=org.apache.log4j.ConsoleAppender
> log4j.appender.gwt-log.layout=org.apache.log4j.PatternLayout
> log4j.appender.gwt-log.layout.ConversionPattern=%C:%L %m%n
>
> but the log I get is :
> com.allen_sauer.gwt.log.server.ServerLogImplLog4J:41 some log message
>
> is there an other configuration file (like the .gwt.xml on client
> side) that I should change to get the actual source of the log ?
>
> thanks!
> emerix
> (ps : this thread dealt with my problem but the solution proposed was
> to just configure log4j... which I'm not sure I'm doing right here...
>
> http://groups.google.com/group/gwt-log/browse_thread/thread/a94d7983a4d8473a/2c17e6227a68bf11
> )
>
> --
> 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.

Reply via email to