Tuesday, May 12, 2015

Logging GWT with Tomcat

Hello,

Im just beginning to use GWT and Tomcat and I have a question about logging. Perhaps you can help me

Snippet from my XML file:

  <inherits name="com.google.gwt.logging.Logging"/>
  <set-property name="gwt.logging.logLevel" value="SEVERE"/>      
  <set-property name="gwt.logging.enabled" value="TRUE"/>
  <set-property name="gwt.logging.popupHandler" value="DISABLED" />

In my Java Code I have something like that:

   public Logger logger = Logger.getLogger("API-Logger");
   logger.log(Level.INFO,"Info Logging ");


When I check the Tomcat logs I can for example found info logging in the catalina log

What Im doing wrong if I want only to print the errors?

Thanks in advanced

Javier


--
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