Community
Participate
Working Groups
Per-app(WAR) deployment should be straight-forward to enable in Nano as the required Tracing Service is included as part of it. If it isn't possible to enable that, then we can remove the sifting log appender from the Nano's serviceability.xml
To clarify we are referring to web applications here. Possible deployment sources options are the apps deployed via the hot-deployer and via p2. Both should not have any knowledge about the TracingService though, because it is not their concern. In VTS and VJS the per-app trace logging is enabled in a separate "extension" for GW (o.e.v.web.tomcat.support bundle?). Should we have something similar here? I'm saying similar because it probably would be a simplified version of the web.tomcat.support bundle that would only configures the per-app trace logging and discover apps similarly to GW's extender bundle.
Yes, it seems reasonable to have per-app tracing in nano via a similar extension, although it may also be consistent with the performance requirements of nano to comment out the sifting appender configuration in serviceability.xml so that startup speed is optimal by default, but can easily be enabled by users that want it.
Ok, so I propose to comment out the sifting appender by default and additionally create a bundle to configure the tracing service. This bundle along with a serviceability.xml that has properly configured sifting appender will be wrapped in a p2 feature, so users could install this optionally. wdyt?
(In reply to comment #3) > Ok, so I propose to comment out the sifting appender by default and > additionally create a bundle to configure the tracing service. This bundle > along with a serviceability.xml that has properly configured sifting appender > will be wrapped in a p2 feature, so users could install this optionally. > wdyt? Sounds good, but we'll need an integration test so that this feature does not stop functioning in the future without us noticing.
This is an enhancement rather than a bug.