Can you provide a sample application that demonstrates this?
Ralph
On May 16, 2013, at 9:44 PM, Eric Scheie wrote:
I'm developing a web application and would like to be able to dynamically
change log levels from within my application instead of editing the log4j2
configuration file. I'm
Hi Gary,
I've found some time to commit my syslogWrapLayout class, but I can't
push my change to the server because it prompts me for a user and password.
As far as I see this is different account from the JIRA one. Can you please
help me and send me a link with guidline saying how to commit
Here is a simple program that can reproduce my problem:
import org.apache.logging.log4j.Level;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
public class Main
{
public static void main(String[] args)
{
Logger rootLogger =
No, the X Logger does not inherit its level from the root Logger. It inherits
its level from the root LoggerConfig. See the picture at
http://logging.apache.org/log4j/2.x/manual/architecture.html.
The level you are modifying is brought into each Logger so that the level can
be tested very