At 09:01 PM 10/13/2010, you wrote:
... I'm new to GWT. I'm trying to add some logging to my server, and
started to use gwt-log. I'm using the built-in Jetty application
server, through the Eclipse plugin. Using gwt-log 3.0.3, and GWT
2.0.4. I've also added log4j-1.2.16.jar into WEB-INF\libs.
i just have gwt-log-3.0.3.jar in lib/
So far, I cannot see any logging in Eclipse from the server. I was
expecting to see something in the Console or Development Mode windows,
i see mine on the console.
but none of my logger messages are being shown. I do see other
messages, presumably from GWT itself, but none of mine are coming
through. I'm calling Log.debug, which should be turned on my default,
from what I've read.
My *.gwt.xml has:
<inherits name="com.allen_sauer.gwt.log.gwt-log-DEBUG" />
mine has the same thing
I'm not sure if Jetty requires another log4j config file, or if Jetty
just outputs it's log data to somewhere that Eclipse is not seeing it.
i have this in my on module load:
Log.setCurrentLogLevel(Log.LOG_LEVEL_INFO);
//Log.setCurrentLogLevel(Log.LOG_LEVEL_DEBUG);
Log.setUncaughtExceptionHandler();
Log.info("Starting up");
thanks
---
co-chair http://ocjug.org/
--
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.