[ANN] Apache Log4j Logo Contest

2013-07-24 Thread Christian Grobmeier
* Log4J logo contest Log4j 2.0 is looking for a new logo! After 12 years, the Log4j project is getting ready for a brand new major release: version 2.0. This new major version is a reboot of this project in many ways: it is not only time to change the version number to 2.0 but also time to refres

Re: Log4j2: Programmatically setting log4j2 log level

2013-07-24 Thread Gary Gregory
On Mon, Jul 22, 2013 at 5:59 PM, Ralph Goers wrote: > Well, you can actually do that. It is just not my number one > recommendation :-) I'm pretty sure I have answered how to do that a few > times. It just needs to be documented. > > The actual code to do this is > >LoggerContext ctx = (

Re: Log4j2: Programmatically setting log4j2 log level

2013-07-24 Thread Gary Gregory
On Mon, Jul 22, 2013 at 5:59 PM, Ralph Goers wrote: > Well, you can actually do that. It is just not my number one > recommendation :-) I'm pretty sure I have answered how to do that a few > times. It just needs to be documented. > > The actual code to do this is > >LoggerContext ctx = (

Re: Logging only particular users

2013-07-24 Thread Nick Williams
On Jul 24, 2013, at 9:35 AM, Michael Wechner wrote: > Hi > > We are using log4j for many years now for our open source CMS www.yanel.org > and it works really great > and I really would like to thank everyone who contributed to log4j. > > Over the years we are experiencing that more and more p

RE: Logging only particular users

2013-07-24 Thread SMITH, CURTIS
If a sequence of execution for a user follows is handled by one thread (often the case in j2ee) then look at "fish tagging", MDC. Log4j2 can put user and any other context in a thread Local object behind the scenes. http://logging.apache.org/log4j/2.x/manual/thread-context.html curt -Orig

Logging only particular users

2013-07-24 Thread Michael Wechner
Hi We are using log4j for many years now for our open source CMS www.yanel.org and it works really great and I really would like to thank everyone who contributed to log4j. Over the years we are experiencing that more and more people are using our software, which is very nice, but it also mak

FYI, in embedded env: got "sun.reflect.Reflection is not installed"

2013-07-24 Thread SMITH, CURTIS
My testing of log4j v2 just started getting my log output to my log files, but had I googled and found this no reflection log to stdout is from log4j2. :) This is an embedded env; IBM J9 J2ME jdk 1.6 on single core Arm chip, but I guess no reflection... I hope nothing internal is now goin