Saturday, September 29, 2012

Documentation of GWT logging (compile out of log levels)

The documentation mentions, that it's possible to make all logging code compile out, but it doesn't mention how to compile out only certain levels.

This is however possible: The property "gwt.logging.enabled" can take the values FALSE, TRUE, SEVERE and WARNING (note: this is separate from the property "gwt.logging.logLevel, which can take ALL, FINEST, FINER, FINE, CONFIG, INFO, WARNING and SEVERE)

When "gwt.logging.enabled" is set to SEVERE or WARNING, then the finer levels will not be compiled into the permutation.

It would be nice if this information were integrated into the documentation. Also, I think it would be a good idea to add at least "INFO" to the allowed values of gwt.logging.enabled.

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment