How to set class-specific log level in GWT protocol?

When using java.util.logging, the log level for a specific class (i.e., for a child registrar with the class name) can be configured in the logging.properties file like this:

com.foobar.MyClass.level = FINE

I create a child registrar in MyClass using the class name as follows:

private static Logger log = Logger.getLogger(MyClass.class.getName());

The log level of the parent log is set to SEVERE. This causes the FINE log to be recorded only for MyClass, with SEVERE logging everywhere.

Is there a way to configure this similarly in the gwt.xml file of the Google Web Toolkit?

+5
source share
1 answer

, . GWT Logging , . , AFAIK, .

+5

All Articles