[jira] [Commented] (LOG4J2-3341) Support passing something like '-Dlog4j.rootLogger=INFO,Console' from command line to set level and appenders at once

2022-03-01 Thread Ralph Goers (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-3341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17499826#comment-17499826 ] Ralph Goers commented on LOG4J2-3341: - Initially all plugins used factory methods. Over time that

[jira] [Commented] (LOG4J2-3420) getlogger() UnsupportedOperationException when loaded by Class.forName()

2022-03-01 Thread Piotr P. Karwasz (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-3420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17499774#comment-17499774 ] Piotr P. Karwasz commented on LOG4J2-3420: -- Due to the removal of {{sun.reflect.Reflection}} in

[jira] [Resolved] (LOG4J2-3422) Prevent setting Log4j2CloudConfigLoggingSystem as tomcat-wide system property using log4j-spring-boot

2022-03-01 Thread Ralph Goers (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-3422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ralph Goers resolved LOG4J2-3422. - Resolution: Duplicate Resolving as a duplicate (which already has a PR). > Prevent setting

[jira] [Commented] (LOG4J2-3420) getlogger() UnsupportedOperationException when loaded by Class.forName()

2022-03-01 Thread Ernie Rael (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-3420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17499740#comment-17499740 ] Ernie Rael commented on LOG4J2-3420: [~ppkarwasz] It does work with Java 8. Thanks for asking. I

[jira] [Commented] (LOG4J2-3341) Support passing something like '-Dlog4j.rootLogger=INFO,Console' from command line to set level and appenders at once

2022-03-01 Thread Jeremy Norris (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-3341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17499718#comment-17499718 ] Jeremy Norris commented on LOG4J2-3341: --- Additionally, the other

[jira] [Commented] (LOG4J2-3341) Support passing something like '-Dlog4j.rootLogger=INFO,Console' from command line to set level and appenders at once

2022-03-01 Thread Jeremy Norris (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-3341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17499714#comment-17499714 ] Jeremy Norris commented on LOG4J2-3341: --- Why was LoggerConfig.createLogger() method deprecated in

[jira] [Updated] (LOG4J2-3422) Prevent setting Log4j2CloudConfigLoggingSystem as tomcat-wide system property using log4j-spring-boot

2022-03-01 Thread member sound (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-3422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] member sound updated LOG4J2-3422: - Description: Follow-Up issue from discussion in

[jira] [Updated] (LOG4J2-3422) Prevent setting Log4j2CloudConfigLoggingSystem as tomcat-wide system property using log4j-spring-boot

2022-03-01 Thread member sound (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-3422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] member sound updated LOG4J2-3422: - Description: Follow-Up issue from discussion in

[jira] [Created] (LOG4J2-3422) Prevent setting Log4j2CloudConfigLoggingSystem as tomcat-wide system property using log4j-spring-boot

2022-03-01 Thread member sound (Jira)
member sound created LOG4J2-3422: Summary: Prevent setting Log4j2CloudConfigLoggingSystem as tomcat-wide system property using log4j-spring-boot Key: LOG4J2-3422 URL:

[jira] [Commented] (LOG4J2-3420) getlogger() UnsupportedOperationException when loaded by Class.forName()

2022-03-01 Thread Piotr P. Karwasz (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-3420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17499703#comment-17499703 ] Piotr P. Karwasz commented on LOG4J2-3420: -- I am wondering whether NetBeans supports

[jira] [Commented] (LOG4J2-3419) Unable to create custom logging level using log4j 2 Bridge API

2022-03-01 Thread Ralph Goers (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-3419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17499675#comment-17499675 ] Ralph Goers commented on LOG4J2-3419: - You could modify your constructor to do    {code:java}

[jira] [Commented] (LOG4J2-3420) getlogger() UnsupportedOperationException when loaded by Class.forName()

2022-03-01 Thread Ralph Goers (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-3420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17499668#comment-17499668 ] Ralph Goers commented on LOG4J2-3420: - I am looking at all the getLogger methods and they do not

[jira] [Assigned] (LOG4J2-3420) getlogger() UnsupportedOperationException when loaded by Class.forName()

2022-03-01 Thread Ralph Goers (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-3420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ralph Goers reassigned LOG4J2-3420: --- Assignee: Ralph Goers > getlogger() UnsupportedOperationException when loaded by

[jira] [Commented] (LOG4J2-3419) Unable to create custom logging level using log4j 2 Bridge API

2022-03-01 Thread Ragini Gawande (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-3419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17499653#comment-17499653 ] Ragini Gawande commented on LOG4J2-3419: This same code worked with log4j 1.2.x, we were able to

[jira] (LOG4J2-3420) getlogger() UnsupportedOperationException when loaded by Class.forName()

2022-03-01 Thread Ralph Goers (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-3420 ] Ralph Goers deleted comment on LOG4J2-3420: - was (Author: ralph.go...@dslextreme.com): What happens if you do {code:java} public class MyTextField extends JTextField { final private static

[jira] [Commented] (LOG4J2-3420) getlogger() UnsupportedOperationException when loaded by Class.forName()

2022-03-01 Thread Ralph Goers (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-3420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17499648#comment-17499648 ] Ralph Goers commented on LOG4J2-3420: - What happens if you do {code:java} public class MyTextField

[jira] [Commented] (LOG4J2-3419) Unable to create custom logging level using log4j 2 Bridge API

2022-03-01 Thread Ralph Goers (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-3419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17499645#comment-17499645 ] Ralph Goers commented on LOG4J2-3419: - The log method in the 1.2 bridge first checks that the

[jira] [Commented] (LOG4J2-3419) Unable to create custom logging level using log4j 2 Bridge API

2022-03-01 Thread Ragini Gawande (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-3419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17499643#comment-17499643 ] Ragini Gawande commented on LOG4J2-3419: Hi [~ggregory]  We have extended the

[jira] [Commented] (LOG4J2-3419) Unable to create custom logging level using log4j 2 Bridge API

2022-03-01 Thread Gary D. Gregory (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-3419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17499619#comment-17499619 ] Gary D. Gregory commented on LOG4J2-3419: - Hi [~ragini]  Would you provide a PR on GitHub with

[jira] [Commented] (LOG4J2-3421) Programmatic Configuration

2022-03-01 Thread Gary D. Gregory (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-3421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17499515#comment-17499515 ] Gary D. Gregory commented on LOG4J2-3421: - [~sovikstepan]  Thank you for this report. Would

[jira] [Created] (LOG4J2-3421) Programmatic Configuration

2022-03-01 Thread Jira
Štěpán Sovík created LOG4J2-3421: Summary: Programmatic Configuration Key: LOG4J2-3421 URL: https://issues.apache.org/jira/browse/LOG4J2-3421 Project: Log4j 2 Issue Type: Bug

[jira] [Updated] (LOG4J2-3420) getlogger() UnsupportedOperationException when loaded by Class.forName()

2022-03-01 Thread Ernie Rael (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-3420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ernie Rael updated LOG4J2-3420: --- Description: Exception arises when this class is used in the NetBeans guiBuilder. {code:java}

[jira] [Updated] (LOG4J2-3420) getlogger() UnsupportedOperationException when loaded by Class.forName()

2022-03-01 Thread Ernie Rael (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-3420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ernie Rael updated LOG4J2-3420: --- Description: Exception arises when this class is used in the NetBeans guiBuilder. {code:java}

[jira] [Updated] (LOG4J2-3420) getlogger() UnsupportedOperationException when loaded by Class.forName()

2022-03-01 Thread Ernie Rael (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-3420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ernie Rael updated LOG4J2-3420: --- Description: Exception arises when this class is used in the NetBeans guiBuilder. {code:java}

[jira] [Updated] (LOG4J2-3420) getlogger() UnsupportedOperationException when loaded by Class.forName()

2022-03-01 Thread Ernie Rael (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-3420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ernie Rael updated LOG4J2-3420: --- Environment: Several versions of log4j 2. Tried with several versions of jdk (the exception shown