Hi,
I am using remote logger with log4j. I have a log4j properties set up
in a log4j.properties and while that seems to be working fine for
messages I send straight to log4j the gwt-log messages produced in the
server do not seem to have the same format or to be obaying the rules
for what level of messages get printed out. e.g. here are two
consequtive lines from the console, the first generated with a Log4j
Logger the second using Log.debug() from gwt-log
02/11/2009 17:30:06 DEBUG [JavaSpaceClientAccessManager Update Read/
Dispatch Thread] (ServerLogImplLog4J.java:43) - Adding 1 to
HTTPSession k8dnl9klztex length is 2
2009-11-02 17:30:06,323 [INFO ] Have received updates that need
dispatching, updates size is 1
I have log4j.properties set up to log at INFO level and the layout is
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%d{dd/MM/yyyy HH:mm:ss} %5p
[%t] (%F:%L) - %m%n
So I have two questions.
1. How do you configure the log4j output of the remote logger?
2. Is gwt-log designed to allow use of the Log.xxx methods server
side.
Thanks,
J
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---