LogDigger servlet library v0.3 has been released today with two new features:
Change of Log Levels
Until now, LogDigger was not able to catch log events with level that is lower than configured by Log4j configuration. This is still default behavior with “[server]“ level setting in Firefox extension. However, user now can set any log level in Firefox and receive all events regardless how levels are configured in default configuration.
This logging level is isolated to user’s HTTP request only and does not affect other appenders in Log4j configuration.
Authorization interface have been provided to allow use of LogDigger only if certain conditions are met, making LogDigger usable in production environments.
Provided SimpleAuthorizer implementation can filter requests depending on presence of a session attribute, remote IP address or host name (as regular expression). Authorizer is configured using LogDigger servlet filter confoguration:
<filter-name>LogDigger Servlet Filter</filter-name>
Authorizer interface documentation can be found in the servlet filter distribution.