How can i write log message in a file (/WEB-INF/logs) in GWT? it seems log4j is not supported but then i wrote a servlet (to be loaded when application starts to load my custom "logging.properties"(from /WEB-INF/classes/logging.properties) file and load it into java.util.LogManager but i get below error
java.lang.NoClassDefFoundError: java.util.logging.LogManager is a restricted class. Please see the Google App Engine developer's guide for more details.
my point here is to write log messages into a file under /WEB-INF/logs.
GWT is client side technology and WEB-INF/logs would indicate the server. Also Please see the Google App Engine developer's guide for more details indicates you are using GAE.
So what are you using exactly? GWT hosted on Tomcat or GWT with GAE?
Thanks for your reply. actually i just started learning GWT and my whole point is to log all messages into file whether its on Entry point or on service/DAO layer the way we do in struts (control, service & DAO layer) on tomcat.
So of an application is running in prod on tomcat and i want to see all my log messages then as per your last mail i should go for log4j?
What is the GWT standard for logging in prod to log client and server messages to file?
Also when i try to integrate log4j i get below error.
No source code is available for type org.apache.log4j.Logger; did you forget to inherit a required module?
Yes i did...i can understand all the logging what GWT supports but my question is how can i write all my logging messages to a File on client & server both side. Please share any example where i can write all log messages to a file.