<Logger name="org.moskito" level="ERROR" additivity="false"> <AppenderRef ref="MOSKITO"/> </Logger> <Logger name="net.anotheria" level="ERROR" additivity="false"> <AppenderRef ref="MOSKITO"/> </Logger>
Can I monitor multiple webapps in same tomcat instance and how.
For embedded integration it was always possible, since MoSKito is integrated into the target webapp.
For remote integration it is was not possible because each webapp would need an rmi port, and it was not possible to specify a different port per webapp.
It became possible with version 2.7.4, as fix of:
Jira server Anotheria.net OpenSource JIRA key DISTRIBUTEME-33
Jira server Anotheria.net OpenSource JIRA key MSK-324
So to enable it you will need:
- Update to 2.7.4 (or above)
Add following to your web.xml (different port for every web.xml of course, port 9450 is just an example).
<context-param> <param-name>moskitoRmiPort</param-name> <param-value>9450</param-value> </context-param>