- Add configuration-stuff in your .gwt.xml file:
< inherits name="com.google.gwt.logging.Logging" >
< set-property name="gwt.logging.simpleRemoteHandler" value="ENABLED" >
< /set-property >
< /inherits >
- Add the remote logging servlet in your web.xml (remember to replace YOURPROJECT with your projects name):
< servlet >
< servlet-class>com.google.gwt.logging.server.RemoteLoggingServiceImpl </servlet-class >
< servlet-name >logger < /servlet-name >
< /servlet >
< servlet-mapping >
< servlet-name>logger </servlet-name >
< url-pattern>/YOURPROJECT/remote_logging </url-pattern >
< /servlet-mapping >
Showing posts with label logging. Show all posts
Showing posts with label logging. Show all posts
Wednesday, November 10, 2010
Remote logging with GWT
Remote logging was introduced in gwt 2.1, but the documentation is still a bit incomplete. To enable remote logging you will have to
Subscribe to:
Posts (Atom)