Extending Appenders

2014-07-14 Thread dxande6
I've tried extending the appenders with the following code and keep getting errors: @Plugin(name = Stub, category = Core, elementType = appender, printObject = true) 2.public final class StubAppender extends OutputStreamAppender { 3. 4.private StubAppender(String name, Layout layout, Filter

Re: Dynamically (programmatically) add logger in Log4j2

2013-12-19 Thread dxande6
I've created the request LOG4J2-468. It appears as though it is currently being reviewed. Hopefully this will be resolved soon. We (amongst many other companies) use this functionality extensively for monitoring production environments. Thank you Ralph Goers and Andre Bogus for researching the

Dynamically (programmatically) add logger in Log4j2

2013-12-16 Thread dxande6
I'm trying to create an admin console for log4j2 similar to what we have done for log4j 1.x We list out the loggers and their current log level. We also have links on the right side to allow users to click on the link and let them update their log level to any level of their choosing. Finally,

Re: Dynamically (programmatically) add logger in Log4j2

2013-12-16 Thread dxande6
I've tried that and the logConf returned is from the root logConfig (name=). I want to add an additional logger with the name (x.y.z). I do not want to change the log level of the root logger in this case. Any other thoughts? -- View this message in context: