Hi,
- I'm using gwt-log and all works fine... except when I call
Log.info("test") from the client... I do not see the log in server side
(looking in the file created by log4j2 in the server side).
Can you confirm the client log must not be manually transmitted with a call
RPC (with another standard interface and Async) because gwt-log does
automatically ?
On the server side my Log4j2 logs works well, but I do not see any trace
from those of client.
- In the Log class I see this code but from my appli, i'm not sure the
tryLog4J() is called...
how is it done please ?
because in tomcat-stderr logs, in can see :* mars 13, 2014 11:24:36 AM
com.allen_sauer.gwt.log.server.ServerLogImplJDK14 log*
so it appears that gwt-log is using JDK14 in place of log4j.... maybe
gwt-log only compatible with the version no1 of log4j ?
static {
String remoteLoggerPreference = System.getProperty(GWT_LOG_
REMOTE_LOGGER_PREFERENCE);
if (remoteLoggerPreference != null) {
if (remoteLoggerPreference.equals("LOG4J")) {
impl = tryLog4J();
} else if (remoteLoggerPreference.equals("JDK14")) {
impl = tryJDK14();
} else {
if (!remoteLoggerPreference.equals("STDIO")) {
throw new UnsupportedOperationException("System property "
+ GWT_LOG_REMOTE_LOGGER_PREFERENCE + " set to unrecognized
value '"
+ remoteLoggerPreference + "'");
} else {
impl = tryStdio();
}
}
}
Regards
C Joubert
--
You received this message because you are subscribed to the Google Groups
"gwt-log" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/gwt-log.
For more options, visit https://groups.google.com/d/optout.