[jira] [Updated] (LOG4J2-1581) Warning should not display stacktrace

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma updated LOG4J2-1581: Description: See http://stackoverflow.com/questions/39457075/jmx-runtime-input-lookup-class-is-not

[jira] [Updated] (LOG4J2-1581) Warning should not display stacktrace

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma updated LOG4J2-1581: Description: See http://stackoverflow.com/q/39160265/1446916 no need for the stacktrace: {noformat

[jira] [Closed] (LOG4J2-1581) Warning should not display stacktrace

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma closed LOG4J2-1581. --- Resolution: Fixed Fixed in master in commit 92b26b4. > Warning should not display stacktrace > -

[jira] [Created] (LOG4J2-1592) Logging not working properly

2016-09-18 Thread Farhad Tarapore (JIRA)
Farhad Tarapore created LOG4J2-1592: --- Summary: Logging not working properly Key: LOG4J2-1592 URL: https://issues.apache.org/jira/browse/LOG4J2-1592 Project: Log4j 2 Issue Type: Bug

[jira] [Updated] (LOG4J2-1592) Logging not working properly

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma updated LOG4J2-1592: Description: I am using the following config {code} /var/log/tomcat

[jira] [Comment Edited] (LOG4J2-1592) Logging not working properly

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15500539#comment-15500539 ] Remko Popma edited comment on LOG4J2-1592 at 9/18/16 8:13 AM: -

[jira] [Commented] (LOG4J2-1592) Logging not working properly

2016-09-18 Thread Farhad Tarapore (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15500551#comment-15500551 ] Farhad Tarapore commented on LOG4J2-1592: - So by separate processes, I mean I hav

[jira] [Commented] (LOG4J2-1592) Logging not working properly

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15500583#comment-15500583 ] Remko Popma commented on LOG4J2-1592: - Please take a look at this manual page: https

[jira] [Comment Edited] (LOG4J2-1592) Logging not working properly

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15500583#comment-15500583 ] Remko Popma edited comment on LOG4J2-1592 at 9/18/16 8:43 AM: -

[jira] [Comment Edited] (LOG4J2-1592) Logging not working properly

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15500583#comment-15500583 ] Remko Popma edited comment on LOG4J2-1592 at 9/18/16 8:46 AM: -

[jira] [Created] (LOG4J2-1593) Concrete Filter implementations should override equals and hashCode

2016-09-18 Thread Remko Popma (JIRA)
Remko Popma created LOG4J2-1593: --- Summary: Concrete Filter implementations should override equals and hashCode Key: LOG4J2-1593 URL: https://issues.apache.org/jira/browse/LOG4J2-1593 Project: Log4j 2

[jira] [Updated] (LOG4J2-1593) Concrete Filter implementations should override equals and hashCode

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1593?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma updated LOG4J2-1593: Fix Version/s: 2.8 > Concrete Filter implementations should override equals and hashCode >

[jira] [Created] (LOG4J2-1594) Add support for adding and removing Filters via JMX

2016-09-18 Thread Remko Popma (JIRA)
Remko Popma created LOG4J2-1594: --- Summary: Add support for adding and removing Filters via JMX Key: LOG4J2-1594 URL: https://issues.apache.org/jira/browse/LOG4J2-1594 Project: Log4j 2 Issue Typ

[jira] [Reopened] (LOG4J2-1407) Misleading WARN log events from Log4j about message factories and unexpected formatting

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma reopened LOG4J2-1407: - Assignee: Remko Popma (was: Gary Gregory) > Misleading WARN log events from Log4j about messag

[jira] [Closed] (LOG4J2-1407) Misleading WARN log events from Log4j about message factories and unexpected formatting

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma closed LOG4J2-1407. --- Resolution: Fixed > Misleading WARN log events from Log4j about message factories and unexpected > f

[jira] [Reopened] (LOG4J2-1409) ArrayIndexOutOfBoundsException in ReusableParameterizedMessage

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma reopened LOG4J2-1409: - > ArrayIndexOutOfBoundsException in ReusableParameterizedMessage > -

[jira] [Closed] (LOG4J2-1409) ArrayIndexOutOfBoundsException in ReusableParameterizedMessage

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma closed LOG4J2-1409. --- Resolution: Fixed > ArrayIndexOutOfBoundsException in ReusableParameterizedMessage > ---

[jira] [Reopened] (LOG4J2-1452) Reusable messages break flow tracing logic

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma reopened LOG4J2-1452: - > Reusable messages break flow tracing logic > -- > >

[jira] [Closed] (LOG4J2-1452) Reusable messages break flow tracing logic

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma closed LOG4J2-1452. --- Resolution: Fixed > Reusable messages break flow tracing logic >

[jira] [Reopened] (LOG4J2-1437) ObjectMessage and ReusableObjectMessage should avoid calling toString() on auto-boxed primitives

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma reopened LOG4J2-1437: - > ObjectMessage and ReusableObjectMessage should avoid calling toString() on > auto-boxed primitives

[jira] [Closed] (LOG4J2-1437) ObjectMessage and ReusableObjectMessage should avoid calling toString() on auto-boxed primitives

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma closed LOG4J2-1437. --- Resolution: Fixed > ObjectMessage and ReusableObjectMessage should avoid calling toString() on > aut

[jira] [Reopened] (LOG4J2-1418) Provide MessageFactory2 to custom Logger implementations

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma reopened LOG4J2-1418: - > Provide MessageFactory2 to custom Logger implementations >

[jira] [Closed] (LOG4J2-1418) Provide MessageFactory2 to custom Logger implementations

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma closed LOG4J2-1418. --- Resolution: Fixed > Provide MessageFactory2 to custom Logger implementations > --

[jira] [Reopened] (LOG4J2-1417) Unbox should respect Constants.ENABLE_THREADLOCALS

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma reopened LOG4J2-1417: - > Unbox should respect Constants.ENABLE_THREADLOCALS > --

[jira] [Closed] (LOG4J2-1417) Unbox should respect Constants.ENABLE_THREADLOCALS

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma closed LOG4J2-1417. --- Resolution: Fixed > Unbox should respect Constants.ENABLE_THREADLOCALS >

[jira] [Reopened] (LOG4J2-1415) Avoid calling toString() on auto-boxed primitive message parameters

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma reopened LOG4J2-1415: - > Avoid calling toString() on auto-boxed primitive message parameters > -

[jira] [Closed] (LOG4J2-1415) Avoid calling toString() on auto-boxed primitive message parameters

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma closed LOG4J2-1415. --- Resolution: Fixed > Avoid calling toString() on auto-boxed primitive message parameters > ---

[jira] [Reopened] (LOG4J2-1511) DynamicThresholdFilter filters incorrectly when params are passed as individual arguments instead of varargs

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma reopened LOG4J2-1511: - > DynamicThresholdFilter filters incorrectly when params are passed as > individual arguments instea

[jira] [Closed] (LOG4J2-1511) DynamicThresholdFilter filters incorrectly when params are passed as individual arguments instead of varargs

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma closed LOG4J2-1511. --- Resolution: Fixed > DynamicThresholdFilter filters incorrectly when params are passed as > individua

[jira] [Updated] (LOG4J2-1498) [Java 9] fix dependency on old JDK versioning scheme

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma updated LOG4J2-1498: Fix Version/s: (was: 2.7) 2.8 > [Java 9] fix dependency on old JDK versionin

[jira] [Reopened] (LOG4J2-1488) (GC) %date conversion pattern with a period '.' is not garbage free

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma reopened LOG4J2-1488: - > (GC) %date conversion pattern with a period '.' is not garbage free > -

[jira] [Reopened] (LOG4J2-1489) (GC) %date conversion pattern with a timezone parameter is not garbage free

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma reopened LOG4J2-1489: - > (GC) %date conversion pattern with a timezone parameter is not garbage free > -

[jira] [Closed] (LOG4J2-1489) (GC) %date conversion pattern with a timezone parameter is not garbage free

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma closed LOG4J2-1489. --- Resolution: Fixed > (GC) %date conversion pattern with a timezone parameter is not garbage free > ---

[jira] [Closed] (LOG4J2-1488) (GC) %date conversion pattern with a period '.' is not garbage free

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma closed LOG4J2-1488. --- Resolution: Fixed > (GC) %date conversion pattern with a period '.' is not garbage free > ---

[jira] [Updated] (LOG4J2-1436) Log4j2 migration tools

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma updated LOG4J2-1436: Fix Version/s: (was: 2.7) 2.8 > Log4j2 migration tools > ---

[jira] [Updated] (LOG4J2-1410) Add new LiteTimeoutBlockingWaitStrategy for Async Loggers

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma updated LOG4J2-1410: Fix Version/s: (was: 2.7) 2.8 > Add new LiteTimeoutBlockingWaitStrategy for

[jira] [Updated] (LOG4J2-1116) Web app-friendly thread locals for gc-free logging (was: upgrade to log4j2 causes too frequent minor gc)

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma updated LOG4J2-1116: Fix Version/s: (was: 2.7) 2.8 > Web app-friendly thread locals for gc-free l

[jira] [Updated] (LOG4J2-1246) PatternLayout %date conversion pattern should render time zone designator for ISO-ISO8601

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma updated LOG4J2-1246: Fix Version/s: (was: 2.7) 2.8 > PatternLayout %date conversion pattern shoul

[jira] [Updated] (LOG4J2-849) [Perf] Add performance tests to compare overhead of various logging APIs

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma updated LOG4J2-849: --- Fix Version/s: (was: 2.7) > [Perf] Add performance tests to compare overhead of various logging AP

[jira] [Closed] (LOG4J2-1407) Misleading WARN log events from Log4j about message factories and unexpected formatting

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma closed LOG4J2-1407. --- Resolution: Fixed > Misleading WARN log events from Log4j about message factories and unexpected > f

[jira] [Reopened] (LOG4J2-1407) Misleading WARN log events from Log4j about message factories and unexpected formatting

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma reopened LOG4J2-1407: - Assignee: Gary Gregory (was: Remko Popma) > Misleading WARN log events from Log4j about messag

[jira] [Updated] (LOG4J2-1198) Add support for custom rollover strategy

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma updated LOG4J2-1198: Fix Version/s: (was: 2.7) 2.8 > Add support for custom rollover strategy > -

[jira] [Created] (LOG4J2-1595) (GC) Avoid allocating temporary objects in Filter implementations

2016-09-18 Thread Remko Popma (JIRA)
Remko Popma created LOG4J2-1595: --- Summary: (GC) Avoid allocating temporary objects in Filter implementations Key: LOG4J2-1595 URL: https://issues.apache.org/jira/browse/LOG4J2-1595 Project: Log4j 2

[jira] [Updated] (LOG4J2-1595) (GC) Avoid allocating temporary objects in Filter implementations

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma updated LOG4J2-1595: Description: Review current Filter implementation classes and change them to be garbage-free where

[jira] [Closed] (LOG4J2-1590) AbstractFilter should call vararg method from methods with unrolled parameters

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma closed LOG4J2-1590. --- Resolution: Fixed I added a test that verifies that filters extending AbstractFilter will behave cor

[jira] [Updated] (LOG4J2-1534) Create alias 'statusDestination' for 'dest' attribute in Configuration

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma updated LOG4J2-1534: Fix Version/s: (was: 2.7) 2.8 > Create alias 'statusDestination' for 'dest'

[jira] [Commented] (LOG4J2-1576) Better automated backwards compatibility checking

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15500853#comment-15500853 ] Remko Popma commented on LOG4J2-1576: - Did anyone have a chance to look at this? I

[jira] [Updated] (LOG4J2-1576) Better automated backwards compatibility checking

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma updated LOG4J2-1576: Fix Version/s: 2.7 > Better automated backwards compatibility checking > --

[jira] [Assigned] (LOG4J2-1591) New method on LifeCycle interface breaks binary compatibility

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma reassigned LOG4J2-1591: --- Assignee: Remko Popma > New method on LifeCycle interface breaks binary compatibility > --

[jira] [Closed] (LOG4J2-1591) New method on LifeCycle interface breaks binary compatibility

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma closed LOG4J2-1591. --- Resolution: Fixed Fixed in master in commit e2c1b66. > New method on LifeCycle interface breaks bin

Jenkins build became unstable: Log4j 2.x #2329

2016-09-18 Thread Apache Jenkins Server
See - To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-dev-h...@logging.apache.org

[jira] [Updated] (LOG4J2-1596) Additional params on public methods break binary compatibility

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma updated LOG4J2-1596: Fix Version/s: 2.7 > Additional params on public methods break binary compatibility >

[jira] [Created] (LOG4J2-1596) Additional params on public methods break binary compatibility

2016-09-18 Thread Remko Popma (JIRA)
Remko Popma created LOG4J2-1596: --- Summary: Additional params on public methods break binary compatibility Key: LOG4J2-1596 URL: https://issues.apache.org/jira/browse/LOG4J2-1596 Project: Log4j 2

[jira] [Updated] (LOG4J2-1596) Additional params on public methods break binary compatibility

2016-09-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma updated LOG4J2-1596: Description: See LOG4J2-1576 for a full list. These can all be resolved by keeping the old method

[jira] [Created] (LOG4J2-1597) Add a ScriptSelector Appender to create an Appender specified by a Script

2016-09-18 Thread Gary Gregory (JIRA)
Gary Gregory created LOG4J2-1597: Summary: Add a ScriptSelector Appender to create an Appender specified by a Script Key: LOG4J2-1597 URL: https://issues.apache.org/jira/browse/LOG4J2-1597 Project: Lo

[jira] [Updated] (LOG4J2-1597) Add a ScriptSelector Appender to create an Appender specified by a Script

2016-09-18 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory updated LOG4J2-1597: - Description: The use case is to create an OS-based dynamic configuration file. The script determ

[jira] [Commented] (LOG4J2-1597) Add a ScriptSelector Appender to create an Appender specified by a Script

2016-09-18 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15501393#comment-15501393 ] Ralph Goers commented on LOG4J2-1597: - I think the appenderRef in the example should

[jira] [Commented] (LOG4J2-1597) Add a ScriptSelector Appender to create an Appender specified by a Script

2016-09-18 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15501597#comment-15501597 ] Gary Gregory commented on LOG4J2-1597: -- Oops, fixed from copy-paste-adapt of another

[jira] [Updated] (LOG4J2-1597) Add a ScriptSelector Appender to create an Appender specified by a Script

2016-09-18 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory updated LOG4J2-1597: - Description: The use case is to create an OS-based dynamic configuration file. The script determ

Jenkins build is back to stable : Log4j 2.x #2330

2016-09-18 Thread Apache Jenkins Server
See - To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-dev-h...@logging.apache.org

Re: OS-based dynamic configuration file

2016-09-18 Thread Gary Gregory
I've implemented a first cut in the branch LOG4J2-1597 but I think I need some help to connect the final dot (or two). When I run the new unit test org.apache.logging.log4j.core.appender.ScriptSelectorAppenderTest, the status logger shows: 2016-09-18 21:19:09,393 main ERROR Unable to locate appen

[jira] [Commented] (LOG4J2-1597) Add a ScriptSelector Appender to create an Appender specified by a Script

2016-09-18 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15502239#comment-15502239 ] Gary Gregory commented on LOG4J2-1597: -- WIP in branch {{LOG4J2-1597}}. > Add a Scri

Re: OS-based dynamic configuration file

2016-09-18 Thread Ralph Goers
I haven’t looked at your code but when you create the “real” appender you need to change its name to match the name of the selector so that AppenderRefs work. Ralph > On Sep 18, 2016, at 9:24 PM, Gary Gregory wrote: > > I've implemented a first cut in the branch LOG4J2-1597 but I think I need

Re: OS-based dynamic configuration file

2016-09-18 Thread Gary Gregory
Hm, but how? org.apache.logging.log4j.core.appender.AbstractAppender.name is final and there is no Appender.setName(String). Surely, we should not use reflection... Gary On Sun, Sep 18, 2016 at 9:34 PM, Ralph Goers wrote: > I haven’t looked at your code but when you create the “real” appender y

Re: OS-based dynamic configuration file

2016-09-18 Thread Gary Gregory
Nevermind, I can just overwrite the name in the Node's attribute map... that works. I'd like a code review before or after merging to master. Gary On Sun, Sep 18, 2016 at 9:43 PM, Gary Gregory wrote: > Hm, but how? org.apache.logging.log4j.core.appender.AbstractAppender.name > is final and ther

Re: OS-based dynamic configuration file

2016-09-18 Thread Ralph Goers
Yup to both. I’ll look at it tomorrow. Ralph > On Sep 18, 2016, at 10:31 PM, Gary Gregory wrote: > > Nevermind, I can just overwrite the name in the Node's attribute map... that > works. I'd like a code review before or after merging to master. > > Gary > > On Sun, Sep 18, 2016 at 9:43 PM,