Hi,
how do i redirect my logs to the Eclipse console ?
I can display the logs in the DevMode console (when i add &logLevel=SEVERE
to the URL) but not in the Eclipse console.
Here is my XML module configuration :
<!-- Inherit the log module -->
<inherits name="com.google.gwt.logging.Logging" />
<set-property name="gwt.logging.enabled" value="TRUE" />
<set-property name="gwt.logging.logLevel" value="INFO" />
<set-property name="gwt.logging.consoleHandler" value="DISABLED" />
<set-property name="gwt.logging.popupHandler" value="DISABLED" />
<set-property name="gwt.logging.developmentModeHandler" value="ENABLED"
/>
<set-property name="gwt.logging.firebugHandler" value="ENABLED" />
<set-property name="gwt.logging.simpleRemoteHandler" value="DISABLED" />
And in my Java entrypoint class, i import the java.util classes :
import java.util.logging.Level;
import java.util.logging.Logger;
And i create a Logger :
private static Logger logger = Logger.getLogger("GwtApplication");
and the call is :
logger.log(Level.ALL, "Here we are");
What do i need to do to display the logs in the Eclipse console ?
Am i missing or disabling a parameter ?
Thanks for helping.
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" 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/google-web-toolkit?hl=en.