Wednesday, May 29, 2013

GWT logging

HI All,
I was trying to find a way to write a log messages in file in GWT application. I started with Log4j but then i found it's not supported by GWT and then moved onto java.uitl.Logger. I configured a servlet to load as the application start and load custom "logging.properties" from this servlet but i got below message.

java.lang.NoClassDefFoundError: java.util.logging.LogManager is a restricted class. Please see the Google  App Engine developer's guide for more details.

let me know if anyone came across this problem and found any work around. My point here is to write log messages into file under "/WEB-INF/logs"

Thanks,
Vikas

--
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment