<inherits name="com.google.gwt.logging.Logging"/>
<set-property name="gwt.logging.logLevel" value="CONFIG"/>
<set-property name="gwt.logging.enabled" value="TRUE" />
<set-property name="gwt.logging.consoleHandler" value="ENABLED" />
<set-property name="gwt.logging.developmentModeHandler" value="DISABLED" />
<set-property name="gwt.logging.hasWidgetsHandler" value="DISABLED" />
<set-property name="gwt.logging.systemHandler" value="DISABLED" />
<set-property name="gwt.logging.simpleRemoteHandler" value="DISABLED" />
Basically, all I want is the console handler as I'm doing everything else with a custom handler (it's silly these aren't disabled by default). My custom handler extends Handler and is pretty simple. It is created like this:
Logger.getLogger().addHandler(new CustomHandler());
And I'm sure the white popup isn't coming from there. So what's going on? And isn't this some sort of GWT defect if things behave differently on different platforms using identical codebases?
Thanks for the help!
<inherits name="com.google.gwt.logging.Logging"/>
<set-property name="gwt.logging.logLevel" value="CONFIG"/>
And I'm still getting the white popup. Looking at the GWT source code it appears it is coming from LoggingPopup but this is only called by PopupLogHandler. This should be disabled by the log module here (in LoggingDisabled.gwt.xml which is inherited by Logging.gwt.xml):
<replace-with class="com.google.gwt.logging.client.PopupLogHandler">
<when-type-is class="com.google.gwt.logging.client.HasWidgetsLogHandler" />
</replace-with>
<set-property name="gwt.logging.hasWidgetsHandler" value="DISABLED" />
Thanks!
<inherits name="com.google.gwt.logging.Logging"/>
<set-property name="gwt.logging.enabled" value="FALSE"/>