2009/04/15 - Apache HiveMind has been retired.

For more information, please explore the Attic.

The LoggingInterceptor service is used to add logging capability to a service, i.e.:

<interceptor service-id="hivemind.LoggingInterceptor">
  <include method="..."/>
  <exclude method="..."/>
</interceptor>

The service make take parameters (which control which methods will be logged).

The logging interceptor uses a Log derived from the service id (of the service to which logging is being added).

The service logs, at debug level, the following events:

By default, the interceptor will log all methods. By supplying parameters to the interceptor, you can control exactly which methods should be logged. The include and exclude parameter elements specify methods to be included (logged) and excluded (not logged). The method attribute is a method pattern, a string used to match methods based on name, number of parameters, or type of parameters; see the MethodMatcher class for more details. A method which does not match any supplied pattern will be logged.