Tuesday, January 27, 2015

Re: client logging config help with unexpected popup

I am not sure if that also applies to GWT 2.7 as I am using GWT trunk but I had to delete SDM caches to let changes to logging configuration take effect. When SDM starts it tells you which workDir it uses for compilation. Next to that workDir SDM also creates a cache directory named "gwt-cache-<some hash>". Simply delete all these cache folders and also the workDir itself. Then start SDM again to give it a clean start.

When you inherit Logging.gwt.xml then GWT will, by default, only log SEVERE and everything else will be compiled out. If you want a lower level then you need to use

<set-property name="gwt.logging.enabled" value="TRUE"/>
<set-property name="gwt.logging.logLevel" value="INFO"/>

in your own module.

-- J.

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment