logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <ralph.go...@dslextreme.com>
Subject Re: logging level per thread
Date Fri, 13 Feb 2015 16:39:53 GMT
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 <mlybarger@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-


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message