- All Implemented Interfaces:
- javax.servlet.Filter
@Scope(value=APPLICATION)
@Name(value="org.jboss.seam.web.loggingFilter")
@BypassInterceptors
@Filter(within="org.jboss.seam.web.authenticationFilter")
@Install(classDependencies="org.apache.log4j.Logger",
dependencies="org.jboss.seam.security.identity",
precedence=0)
public class LoggingFilter
extends AbstractFilter
This filter adds the authenticated user name to the log4j
mapped diagnostic context so that it can be included in
formatted log output if desired, by adding %X{username}
to the pattern.
- Author:
- Eric Trautman