See http://logging.apache.org/log4j/2.x/manual/eventlogging.html <http://logging.apache.org/log4j/2.x/manual/eventlogging.html>. You would then use http://logging.apache.org/log4j/2.x/manual/filters.html#ThreadContextMapFilter <http://logging.apache.org/log4j/2.x/manual/filters.html#ThreadContextMapFilter> to set the desired log level for the user.
Ralph > On Feb 13, 2015, at 8:33 AM, Mark Lybarger <mlybar...@gmail.com> wrote: > > I have a j2ee application that i'd like to change the logging level on a > per thread or a per context basis. For intstance, I'd like to enable debug > level for user FOO. Has anyone encountered this ? > > Thanks, > -mark-