[GitHub] [logging-log4j2] dongjinleekr commented on a change in pull request #640: LOG4J2-3256: Reduce ignored package scope of KafkaAppender

2021-12-25 Thread GitBox
dongjinleekr commented on a change in pull request #640: URL: https://github.com/apache/logging-log4j2/pull/640#discussion_r775197551 ## File path: log4j-kafka/src/main/java/org/apache/logging/log4j/kafka/appender/KafkaAppender.java ## @@ -136,6 +136,18 @@ public B setRetryCou

[GitHub] [logging-log4j2] garydgregory commented on pull request #658: Fix tests not restoring system properties

2021-12-25 Thread GitBox
garydgregory commented on pull request #658: URL: https://github.com/apache/logging-log4j2/pull/658#issuecomment-1001101249 > The issue is that currently some tests are still using JUnit 4. For that there is the [System Rules](https://github.com/stefanbirkner/system-rules) project, but I d

[GitHub] [logging-log4j2] garydgregory commented on a change in pull request #640: LOG4J2-3256: Reduce ignored package scope of KafkaAppender

2021-12-25 Thread GitBox
garydgregory commented on a change in pull request #640: URL: https://github.com/apache/logging-log4j2/pull/640#discussion_r775190696 ## File path: log4j-kafka/src/main/java/org/apache/logging/log4j/kafka/appender/KafkaAppender.java ## @@ -136,6 +136,18 @@ public B setRetryCou

[GitHub] [logging-log4j2] dongjinleekr commented on a change in pull request #640: LOG4J2-3256: Reduce ignored package scope of KafkaAppender

2021-12-25 Thread GitBox
dongjinleekr commented on a change in pull request #640: URL: https://github.com/apache/logging-log4j2/pull/640#discussion_r775189022 ## File path: log4j-kafka/src/main/java/org/apache/logging/log4j/kafka/appender/KafkaAppender.java ## @@ -136,6 +136,18 @@ public B setRetryCou

[GitHub] [logging-log4j2] Marcono1234 commented on pull request #658: Fix tests not restoring system properties

2021-12-25 Thread GitBox
Marcono1234 commented on pull request #658: URL: https://github.com/apache/logging-log4j2/pull/658#issuecomment-1001090717 The issue is that currently some tests are still using JUnit 4. For that there is the [System Rules](https://github.com/stefanbirkner/system-rules) project, but I did

[GitHub] [logging-log4j2] srdo commented on a change in pull request #644: LOG4J2-3259: Limit max recursion depth when interpolating strings.

2021-12-25 Thread GitBox
srdo commented on a change in pull request #644: URL: https://github.com/apache/logging-log4j2/pull/644#discussion_r775176529 ## File path: log4j-core/src/test/java/org/apache/logging/log4j/core/lookup/StrSubstitutorTest.java ## @@ -249,4 +249,37 @@ public void testTopLevelLo

[GitHub] [logging-log4j2] srdo commented on a change in pull request #644: LOG4J2-3259: Limit max recursion depth when interpolating strings.

2021-12-25 Thread GitBox
srdo commented on a change in pull request #644: URL: https://github.com/apache/logging-log4j2/pull/644#discussion_r775176529 ## File path: log4j-core/src/test/java/org/apache/logging/log4j/core/lookup/StrSubstitutorTest.java ## @@ -249,4 +249,37 @@ public void testTopLevelLo

[GitHub] [logging-log4j2] KristjanESPERANTO commented on pull request #642: Add Link to Release History

2021-12-25 Thread GitBox
KristjanESPERANTO commented on pull request #642: URL: https://github.com/apache/logging-log4j2/pull/642#issuecomment-1001077412 Then you will never find a reference to the current release notes in the master branch. If that's the way you want it, I don't understand it, but that's okay too

[GitHub] [logging-log4j2] Gamebuster19901 commented on a change in pull request #644: LOG4J2-3259: Limit max recursion depth when interpolating strings.

2021-12-25 Thread GitBox
Gamebuster19901 commented on a change in pull request #644: URL: https://github.com/apache/logging-log4j2/pull/644#discussion_r775173387 ## File path: log4j-core/src/test/java/org/apache/logging/log4j/core/lookup/StrSubstitutorTest.java ## @@ -249,4 +249,37 @@ public void tes

[GitHub] [logging-log4j2] Gamebuster19901 commented on a change in pull request #644: LOG4J2-3259: Limit max recursion depth when interpolating strings.

2021-12-25 Thread GitBox
Gamebuster19901 commented on a change in pull request #644: URL: https://github.com/apache/logging-log4j2/pull/644#discussion_r775173387 ## File path: log4j-core/src/test/java/org/apache/logging/log4j/core/lookup/StrSubstitutorTest.java ## @@ -249,4 +249,37 @@ public void tes

[GitHub] [logging-log4j2] Gamebuster19901 commented on pull request #644: LOG4J2-3259: Limit max recursion depth when interpolating strings.

2021-12-25 Thread GitBox
Gamebuster19901 commented on pull request #644: URL: https://github.com/apache/logging-log4j2/pull/644#issuecomment-1001075553 > For the `StatusLogger`, removing the log will mean a user hitting this limit won't know about it, which makes it harder for them to fix. Their logs will just be

[GitHub] [logging-log4j2] Gamebuster19901 edited a comment on pull request #644: LOG4J2-3259: Limit max recursion depth when interpolating strings.

2021-12-25 Thread GitBox
Gamebuster19901 edited a comment on pull request #644: URL: https://github.com/apache/logging-log4j2/pull/644#issuecomment-1001072402 > I am in favor of reading the cap from a property and returning the lookup as is, i.e., no error logging via `StatusLogger`. ~~I agree with no error

[GitHub] [logging-log4j2] Gamebuster19901 edited a comment on pull request #644: LOG4J2-3259: Limit max recursion depth when interpolating strings.

2021-12-25 Thread GitBox
Gamebuster19901 edited a comment on pull request #644: URL: https://github.com/apache/logging-log4j2/pull/644#issuecomment-1001072402 > I am in favor of reading the cap from a property and returning the lookup as is, i.e., no error logging via `StatusLogger`. ~~I agree with no error

[GitHub] [logging-log4j2] Gamebuster19901 commented on a change in pull request #644: LOG4J2-3259: Limit max recursion depth when interpolating strings.

2021-12-25 Thread GitBox
Gamebuster19901 commented on a change in pull request #644: URL: https://github.com/apache/logging-log4j2/pull/644#discussion_r775172956 ## File path: log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/StrSubstitutor.java ## @@ -986,12 +986,20 @@ protected boolean s

[GitHub] [logging-log4j2] srdo commented on a change in pull request #644: LOG4J2-3259: Limit max recursion depth when interpolating strings.

2021-12-25 Thread GitBox
srdo commented on a change in pull request #644: URL: https://github.com/apache/logging-log4j2/pull/644#discussion_r775170590 ## File path: log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/StrSubstitutor.java ## @@ -986,12 +986,20 @@ protected boolean substitute(f

[GitHub] [logging-log4j2] garydgregory commented on pull request #658: Fix tests not restoring system properties

2021-12-25 Thread GitBox
garydgregory commented on pull request #658: URL: https://github.com/apache/logging-log4j2/pull/658#issuecomment-1001072849 > Isn't there a mechanism we can hook into to take a snapshot of existing properties before and restoring them after a test method? Yes, there's an app for that

[GitHub] [logging-log4j2] srdo commented on pull request #644: LOG4J2-3259: Limit max recursion depth when interpolating strings.

2021-12-25 Thread GitBox
srdo commented on pull request #644: URL: https://github.com/apache/logging-log4j2/pull/644#issuecomment-1001072449 @vy Could you elaborate on why you prefer this? For the system property, can we come up with a case where people will actually need/want >10 (or some other limit) level

[GitHub] [logging-log4j2] Gamebuster19901 commented on pull request #644: LOG4J2-3259: Limit max recursion depth when interpolating strings.

2021-12-25 Thread GitBox
Gamebuster19901 commented on pull request #644: URL: https://github.com/apache/logging-log4j2/pull/644#issuecomment-1001072402 > I am in favor of reading the cap from a property and returning the lookup as is, i.e., no error logging via `StatusLogger`. I agree with no error logging f

[GitHub] [logging-log4j2] srdo commented on a change in pull request #644: LOG4J2-3259: Limit max recursion depth when interpolating strings.

2021-12-25 Thread GitBox
srdo commented on a change in pull request #644: URL: https://github.com/apache/logging-log4j2/pull/644#discussion_r775170010 ## File path: log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/StrSubstitutor.java ## @@ -986,12 +986,20 @@ protected boolean substitute(f

[GitHub] [logging-log4j2] vy commented on pull request #642: Add Link to Release History

2021-12-25 Thread GitBox
vy commented on pull request #642: URL: https://github.com/apache/logging-log4j2/pull/642#issuecomment-1001070873 > When will the changes be transferred from the release-2.x branch to the master branch? [Never, since every release will have its own content.](https://lists.apache.org

[GitHub] [logging-log4j2] vy commented on pull request #658: Fix tests not restoring system properties

2021-12-25 Thread GitBox
vy commented on pull request #658: URL: https://github.com/apache/logging-log4j2/pull/658#issuecomment-1001070661 Isn't there a mechanism we can hook into to take a snapshot of existing properties before and restoring them after a test method? -- This is an automated message from the Apa

[GitHub] [logging-log4j2] vy commented on pull request #644: LOG4J2-3259: Limit max recursion depth when interpolating strings.

2021-12-25 Thread GitBox
vy commented on pull request #644: URL: https://github.com/apache/logging-log4j2/pull/644#issuecomment-1001070245 I am in favor of reading the cap from a property and returning the lookup as is, i.e., no error logging via `StatusLogger`. -- This is an automated message from the Apache Gi

[jira] [Closed] (LOG4J2-3271) When compiling 2.17.0 java8 error

2021-12-25 Thread Volkan Yazici (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-3271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Volkan Yazici closed LOG4J2-3271. - > When compiling 2.17.0 java8 error > - > > Key: LOG

[jira] [Resolved] (LOG4J2-3266) ${CTX :ThreadName} does not work

2021-12-25 Thread Volkan Yazici (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-3266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Volkan Yazici resolved LOG4J2-3266. --- Resolution: Information Provided > ${CTX :ThreadName} does not work >

[GitHub] [logging-log4j2] Gamebuster19901 commented on a change in pull request #644: LOG4J2-3259: Limit max recursion depth when interpolating strings.

2021-12-25 Thread GitBox
Gamebuster19901 commented on a change in pull request #644: URL: https://github.com/apache/logging-log4j2/pull/644#discussion_r775165870 ## File path: log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/StrSubstitutor.java ## @@ -986,12 +986,20 @@ protected boolean s

[GitHub] [logging-log4j2] Gamebuster19901 commented on a change in pull request #644: LOG4J2-3259: Limit max recursion depth when interpolating strings.

2021-12-25 Thread GitBox
Gamebuster19901 commented on a change in pull request #644: URL: https://github.com/apache/logging-log4j2/pull/644#discussion_r775165870 ## File path: log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/StrSubstitutor.java ## @@ -986,12 +986,20 @@ protected boolean s

[jira] [Assigned] (LOG4J2-3289) log4j-to-slf4j should not re-format the result of Message.getFormattedMessage

2021-12-25 Thread Carter Kozak (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-3289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carter Kozak reassigned LOG4J2-3289: Assignee: Carter Kozak > log4j-to-slf4j should not re-format the result of Message.getFor

[jira] [Closed] (LOG4J2-3289) log4j-to-slf4j should not re-format the result of Message.getFormattedMessage

2021-12-25 Thread Carter Kozak (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-3289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carter Kozak closed LOG4J2-3289. > log4j-to-slf4j should not re-format the result of Message.getFormattedMessage >

[jira] [Resolved] (LOG4J2-3289) log4j-to-slf4j should not re-format the result of Message.getFormattedMessage

2021-12-25 Thread Carter Kozak (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-3289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carter Kozak resolved LOG4J2-3289. -- Resolution: Fixed > log4j-to-slf4j should not re-format the result of Message.getFormattedMess

[jira] [Commented] (LOG4J2-3289) log4j-to-slf4j should not re-format the result of Message.getFormattedMessage

2021-12-25 Thread ASF subversion and git services (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-3289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17465244#comment-17465244 ] ASF subversion and git services commented on LOG4J2-3289: - Commi

[GitHub] [logging-log4j2] carterkozak merged pull request #659: LOG4J2-3289: Fix log4j-to-slf4j re-interpolation of formatted message data

2021-12-25 Thread GitBox
carterkozak merged pull request #659: URL: https://github.com/apache/logging-log4j2/pull/659 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notif

[GitHub] [logging-log4j-scala] jvz merged pull request #10: change travis build badge to github-actions one

2021-12-25 Thread GitBox
jvz merged pull request #10: URL: https://github.com/apache/logging-log4j-scala/pull/10 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notificati

[GitHub] [logging-log4j2] carterkozak opened a new pull request #659: LOG4J2-3289: Fix log4j-to-slf4j re-interpolation of formatted message data

2021-12-25 Thread GitBox
carterkozak opened a new pull request #659: URL: https://github.com/apache/logging-log4j2/pull/659 https://issues.apache.org/jira/browse/LOG4J2-3289 By passing a parameter array to slf4j, we hinted that the message string was a template and should be substituted, however the result o

[jira] [Created] (LOG4J2-3289) log4j-to-slf4j should not re-format the result of Message.getFormattedMessage

2021-12-25 Thread Carter Kozak (Jira)
Carter Kozak created LOG4J2-3289: Summary: log4j-to-slf4j should not re-format the result of Message.getFormattedMessage Key: LOG4J2-3289 URL: https://issues.apache.org/jira/browse/LOG4J2-3289 Project

[GitHub] [logging-log4j2] garydgregory commented on a change in pull request #640: LOG4J2-3256: Reduce ignored package scope of KafkaAppender

2021-12-25 Thread GitBox
garydgregory commented on a change in pull request #640: URL: https://github.com/apache/logging-log4j2/pull/640#discussion_r775151693 ## File path: log4j-kafka/src/main/java/org/apache/logging/log4j/kafka/appender/KafkaAppender.java ## @@ -136,6 +136,18 @@ public B setRetryCou

[GitHub] [logging-log4j2] srdo edited a comment on pull request #644: LOG4J2-3259: Limit max recursion depth when interpolating strings.

2021-12-25 Thread GitBox
srdo edited a comment on pull request #644: URL: https://github.com/apache/logging-log4j2/pull/644#issuecomment-1001011990 The error messages are a little harder to understand now, since the logged error string will be whatever was being handled by `substitute` when the limit was exceeded,

[GitHub] [logging-log4j2] srdo edited a comment on pull request #644: LOG4J2-3259: Limit max recursion depth when interpolating strings.

2021-12-25 Thread GitBox
srdo edited a comment on pull request #644: URL: https://github.com/apache/logging-log4j2/pull/644#issuecomment-1001011990 The error messages are a little harder to understand now, since the logged error string will be whatever was being handled by `substitute` when the limit was exceeded,

[GitHub] [logging-log4j2] srdo commented on pull request #644: LOG4J2-3259: Limit max recursion depth when interpolating strings.

2021-12-25 Thread GitBox
srdo commented on pull request #644: URL: https://github.com/apache/logging-log4j2/pull/644#issuecomment-1001011990 The error messages are a little harder to understand now, since the logged string will be whatever was being handled by `substitute` when the limit was exceeded, instead of t

[GitHub] [logging-log4j2] srdo commented on pull request #644: LOG4J2-3259: Limit max recursion depth when interpolating strings.

2021-12-25 Thread GitBox
srdo commented on pull request #644: URL: https://github.com/apache/logging-log4j2/pull/644#issuecomment-1001010713 Updated to avoid throwing a potentially unhandled exception. Also moved the max depth constant into the substitute method, and fixed a conflict with the base branch. -- Th

[GitHub] [logging-log4j2] dongjinleekr commented on pull request #640: LOG4J2-3256: Reduce ignored package scope of KafkaAppender

2021-12-25 Thread GitBox
dongjinleekr commented on pull request #640: URL: https://github.com/apache/logging-log4j2/pull/640#issuecomment-1001001300 Hi @garydgregory, After some trial and error, I concluded that maintaining the ignored package list in an array would be better than a file-based approach. Here

[GitHub] [logging-log4j2] srdo commented on a change in pull request #644: LOG4J2-3259: Limit max recursion depth when interpolating strings.

2021-12-25 Thread GitBox
srdo commented on a change in pull request #644: URL: https://github.com/apache/logging-log4j2/pull/644#discussion_r775127430 ## File path: log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/StrSubstitutor.java ## @@ -168,6 +168,11 @@ private static final int

[CI][UNSTABLE] Logging/log4j/release-2.x#552 has test failures

2021-12-25 Thread Mr. Jenkins
BUILD UNSTABLE Build URL https://ci-builds.apache.org/job/Logging/job/log4j/job/release-2.x/552/ Project: release-2.x Date of build: Sat, 25 Dec 2021 09:09:59 + Build duration: 1 hr 0 min and counting JUnit Tests Name: (root) Failed: 0 test(s), P

[GitHub] [logging-log4j2] srdo commented on a change in pull request #644: LOG4J2-3259: Limit max recursion depth when interpolating strings.

2021-12-25 Thread GitBox
srdo commented on a change in pull request #644: URL: https://github.com/apache/logging-log4j2/pull/644#discussion_r775127430 ## File path: log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/StrSubstitutor.java ## @@ -168,6 +168,11 @@ private static final int

[GitHub] [logging-log4j2] srdo edited a comment on pull request #644: LOG4J2-3259: Limit max recursion depth when interpolating strings.

2021-12-25 Thread GitBox
srdo edited a comment on pull request #644: URL: https://github.com/apache/logging-log4j2/pull/644#issuecomment-100189 > Should we return the input, or the pieces that we could successfully replace Neither string is likely to be the output the author wanted I think. If this case

[GitHub] [logging-log4j2] srdo commented on pull request #644: LOG4J2-3259: Limit max recursion depth when interpolating strings.

2021-12-25 Thread GitBox
srdo commented on pull request #644: URL: https://github.com/apache/logging-log4j2/pull/644#issuecomment-100189 > Should we return the input, or the pieces that we could successfully replace Neither string is likely to be the output the author wanted I think. If this case is hit

[GitHub] [logging-log4j2] srdo commented on a change in pull request #644: LOG4J2-3259: Limit max recursion depth when interpolating strings.

2021-12-25 Thread GitBox
srdo commented on a change in pull request #644: URL: https://github.com/apache/logging-log4j2/pull/644#discussion_r775126323 ## File path: log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/StrSubstitutor.java ## @@ -168,6 +168,11 @@ private static final int

[GitHub] [logging-log4j2] srdo commented on a change in pull request #644: LOG4J2-3259: Limit max recursion depth when interpolating strings.

2021-12-25 Thread GitBox
srdo commented on a change in pull request #644: URL: https://github.com/apache/logging-log4j2/pull/644#discussion_r775126323 ## File path: log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/StrSubstitutor.java ## @@ -168,6 +168,11 @@ private static final int

[GitHub] [logging-log4j2] KristjanESPERANTO commented on pull request #642: Add Link to Release History

2021-12-25 Thread GitBox
KristjanESPERANTO commented on pull request #642: URL: https://github.com/apache/logging-log4j2/pull/642#issuecomment-1000997057 When will the changes be transferred from the `release-2.x` branch to the master branch? The `RELEASE-NOTES.md` in the master branch is still outdated. -

[jira] [Commented] (LOG4J2-3211) Remove support for Lookups in messages

2021-12-25 Thread ASF subversion and git services (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-3211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17465153#comment-17465153 ] ASF subversion and git services commented on LOG4J2-3211: - Commi