I have the following in the client.gwt.xml file:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.5.1//EN" "http://gwtproject.org/doctype/2.7.0/gwt-module.dtd"> <module rename-to='client'> <inherits name="com.mz.client.app" /> <source path="client"/> <inherits name="com.google.gwt.logging.Logging"/> <set-property name="gwt.logging.logLevel" value="FINER"/> <set-property name="gwt.logging.enabled" value="TRUE"/> <set-property name="gwt.logging.consoleHandler" value="ENABLED"/> </module>
and I am trying to register the following:
LOGGER.info("INFO"); LOGGER.fine("FINE"); LOGGER.warning("WARNING"); LOGGER.severe("SEVERE");
but the only thing that appears in my firebug console is the SEVERE message:
Mon Sep 07 13:44:09 GMT+200 2015 com.mz.client.App SEVERE: SEVERE
Why am I not receiving other log messages?
I already installed java.util.logging.ConsoleHandler.level in logging.properties in FINE :
Edit:
Now it works even without one of these lines
I deleted these lines, cleaned up my project and started the Apache server, and for some magic reason, I get debug output.
Change
<set-property name="gwt.logging.logLevel" value="FINER"/>
to
<set-property name="gwt.logging.logLevel" value="INFO"/>
does not change the output. I receive all messages until FINER . Customization
<set-property name="gwt.logging.enabled" value="FALSE"/>
now does not remove debug output. Still getting everything.
I want to control my debug output.
java logging gwt
Stefan Falk Sep 07 '15 at 11:49 2015-09-07 11:49
source share