[GitHub] [logging-log4j2] sman-81 commented on a change in pull request #544: LOG4J2-3115: Remember previously computed strings in NamePatternConverter for performance ~3x

2021-08-03 Thread GitBox
sman-81 commented on a change in pull request #544: URL: https://github.com/apache/logging-log4j2/pull/544#discussion_r681495858 ## File path: log4j-core/src/main/java/org/apache/logging/log4j/core/pattern/NamePatternConverter.java ## @@ -29,6 +32,11 @@ */ private f

[GitHub] [logging-log4j2] carterkozak opened a new pull request #553: LOG4J2-3083 Fix slf4j calling class lookup using both accessors

2021-08-03 Thread GitBox
carterkozak opened a new pull request #553: URL: https://github.com/apache/logging-log4j2/pull/553 `LoggerFactory.getLogger(name/class)` as well as `LoggerFactory.getILoggerFactory().getLogger(name)`. -- This is an automated message from the Apache Git Service. To respond to the message,

[GitHub] [logging-log4j2] carterkozak commented on a change in pull request #553: LOG4J2-3083 Fix slf4j calling class lookup using both accessors

2021-08-03 Thread GitBox
carterkozak commented on a change in pull request #553: URL: https://github.com/apache/logging-log4j2/pull/553#discussion_r681845225 ## File path: log4j-api-java9/src/main/java/org/apache/logging/log4j/util/StackLocator.java ## @@ -40,6 +41,16 @@ public static StackLocator get

[GitHub] [logging-log4j2] carterkozak opened a new pull request #554: LOG4J2-3083 Fix slf4j calling class lookup using both accessors

2021-08-03 Thread GitBox
carterkozak opened a new pull request #554: URL: https://github.com/apache/logging-log4j2/pull/554 `LoggerFactory.getLogger(name/class)` as well as `LoggerFactory.getILoggerFactory().getLogger(name)`. -- This is an automated message from the Apache Git Service. To respond to the messag

[GitHub] [logging-log4j2] carterkozak commented on pull request #544: LOG4J2-3115: Remember previously computed strings in NamePatternConverter for performance ~3x

2021-08-03 Thread GitBox
carterkozak commented on pull request #544: URL: https://github.com/apache/logging-log4j2/pull/544#issuecomment-891993420 I slightly restructured the benchmark to fix the issue where only the first class was ever used, and reused the StringBuilder and LogEvent objects to avoid allocation o

[GitHub] [logging-log4j2] carterkozak opened a new pull request #555: Improve worst-case NameAbbreviator performance

2021-08-03 Thread GitBox
carterkozak opened a new pull request #555: URL: https://github.com/apache/logging-log4j2/pull/555 Previously the entire input string was written to the output buffer, then small sections were deleted or replaced within that string. This meant that for each section that was abbreviated

[GitHub] [logging-log4j2] carterkozak commented on pull request #544: LOG4J2-3115: Remember previously computed strings in NamePatternConverter for performance ~3x

2021-08-03 Thread GitBox
carterkozak commented on pull request #544: URL: https://github.com/apache/logging-log4j2/pull/544#issuecomment-892137360 @sman-81 I've created a PR which aims to improve the worst-case performance of NameAbbreviator, however the the performance difference is smaller than I had anticipated

[GitHub] [logging-log4j2] carterkozak commented on a change in pull request #555: Improve worst-case NameAbbreviator performance

2021-08-03 Thread GitBox
carterkozak commented on a change in pull request #555: URL: https://github.com/apache/logging-log4j2/pull/555#discussion_r682075572 ## File path: log4j-core/src/main/java/org/apache/logging/log4j/core/pattern/NameAbbreviator.java ## @@ -285,40 +285,40 @@ public PatternAbbrevi

[GitHub] [logging-log4j2] garydgregory commented on a change in pull request #555: Improve worst-case NameAbbreviator performance

2021-08-03 Thread GitBox
garydgregory commented on a change in pull request #555: URL: https://github.com/apache/logging-log4j2/pull/555#discussion_r682082299 ## File path: log4j-core/src/main/java/org/apache/logging/log4j/core/pattern/NameAbbreviator.java ## @@ -285,40 +285,40 @@ public PatternAbbrev

[GitHub] [logging-log4j2] carterkozak commented on a change in pull request #555: Improve worst-case NameAbbreviator performance

2021-08-03 Thread GitBox
carterkozak commented on a change in pull request #555: URL: https://github.com/apache/logging-log4j2/pull/555#discussion_r682083949 ## File path: log4j-core/src/main/java/org/apache/logging/log4j/core/pattern/NameAbbreviator.java ## @@ -285,40 +285,40 @@ public PatternAbbrevi

[GitHub] [logging-log4j2] carterkozak commented on a change in pull request #555: Improve worst-case NameAbbreviator performance

2021-08-03 Thread GitBox
carterkozak commented on a change in pull request #555: URL: https://github.com/apache/logging-log4j2/pull/555#discussion_r682086487 ## File path: log4j-core/src/main/java/org/apache/logging/log4j/core/pattern/NameAbbreviator.java ## @@ -285,40 +285,40 @@ public PatternAbbrevi

[GitHub] [logging-log4j2] carterkozak opened a new pull request #556: JCTools AsyncAppender benchmarking

2021-08-03 Thread GitBox
carterkozak opened a new pull request #556: URL: https://github.com/apache/logging-log4j2/pull/556 -- 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:

[GitHub] [logging-log4j2] carterkozak commented on pull request #485: LOG4J2-3068 - JCToolsBlockingQueueFactory can use MpscBlockingConsumerArrayQueue

2021-08-03 Thread GitBox
carterkozak commented on pull request #485: URL: https://github.com/apache/logging-log4j2/pull/485#issuecomment-892191658 Sorry for the delay, @franz1981! ## This PR rebased to master `java -jar log4j-perf/target/benchmarks.jar ".*AsyncAppenderLog4j2Benchmark\.throughputSimple

[GitHub] [logging-log4j2] vy commented on pull request #476: LOG4J2-3004 Add plugin support to JsonTemplateLayout.

2021-08-03 Thread GitBox
vy commented on pull request #476: URL: https://github.com/apache/logging-log4j2/pull/476#issuecomment-892381981 @radut The following repository should work: https://repository.apache.org/content/repositories/snapshots/ -- This is an automated message from the Apache Git Service. To resp

[GitHub] [logging-log4j2] vy merged pull request #548: LOG4J2-2885 Add support for US-style date patterns and micro/nano seconds to FixedDateFormat

2021-08-03 Thread GitBox
vy merged pull request #548: URL: https://github.com/apache/logging-log4j2/pull/548 -- 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: notifications-

[GitHub] [logging-log4j2] vy commented on pull request #548: LOG4J2-2885 Add support for US-style date patterns and micro/nano seconds to FixedDateFormat

2021-08-03 Thread GitBox
vy commented on pull request #548: URL: https://github.com/apache/logging-log4j2/pull/548#issuecomment-892391568 Thanks so much for the PR @sman-81! I have ported this to `master` as well. -- This is an automated message from the Apache Git Service. To respond to the message, please log o

[GitHub] [logging-log4j2] carterkozak merged pull request #553: LOG4J2-3083 Fix slf4j calling class lookup using both accessors

2021-08-04 Thread GitBox
carterkozak merged pull request #553: URL: https://github.com/apache/logging-log4j2/pull/553 -- 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-log4j2] carterkozak merged pull request #554: LOG4J2-3083 Fix slf4j calling class lookup using both accessors

2021-08-04 Thread GitBox
carterkozak merged pull request #554: URL: https://github.com/apache/logging-log4j2/pull/554 -- 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-log4j2] vy merged pull request #552: (doc): Fix XML element names in javadoc

2021-08-04 Thread GitBox
vy merged pull request #552: URL: https://github.com/apache/logging-log4j2/pull/552 -- 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: notifications-

[GitHub] [logging-log4j2] vy commented on pull request #545: Add markdown links to README.md file

2021-08-04 Thread GitBox
vy commented on pull request #545: URL: https://github.com/apache/logging-log4j2/pull/545#issuecomment-892706763 Looks like a spam. -- 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 c

[GitHub] [logging-log4j2] vy closed pull request #545: Add markdown links to README.md file

2021-08-04 Thread GitBox
vy closed pull request #545: URL: https://github.com/apache/logging-log4j2/pull/545 -- 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: notifications-

[GitHub] [logging-log4j2] carterkozak opened a new pull request #557: LOG4J2-3133: log4j-slf4j-impl provides new singleton accessors from s…

2021-08-04 Thread GitBox
carterkozak opened a new pull request #557: URL: https://github.com/apache/logging-log4j2/pull/557 …lf4j-api 1.7.14 See https://github.com/qos-ch/slf4j/commit/ea3cca72cd5a9329a06b788317a17e806ee8acd0 and https://jira.qos.ch/browse/SLF4J-347 -- This is an automated message from

[GitHub] [logging-log4j2] carterkozak commented on pull request #548: LOG4J2-2885 Add support for US-style date patterns and micro/nano seconds to FixedDateFormat

2021-08-04 Thread GitBox
carterkozak commented on pull request #548: URL: https://github.com/apache/logging-log4j2/pull/548#issuecomment-892717422 @vy I think this broke builds on release-2.x for the same reason the PR build is failing, revapi needs the enum ordinal changes to be acknowledged. -- This is an auto

[GitHub] [logging-log4j2] carterkozak closed pull request #557: LOG4J2-3133: log4j-slf4j-impl provides new singleton accessors from slf4j-api 1.7.14

2021-08-04 Thread GitBox
carterkozak closed pull request #557: URL: https://github.com/apache/logging-log4j2/pull/557 -- 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-log4j2] carterkozak commented on pull request #557: LOG4J2-3133: log4j-slf4j-impl provides new singleton accessors from slf4j-api 1.7.14

2021-08-04 Thread GitBox
carterkozak commented on pull request #557: URL: https://github.com/apache/logging-log4j2/pull/557#issuecomment-892737122 merged -- 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 comm

[GitHub] [logging-log4j2] carterkozak commented on a change in pull request #542: LOG4J2-2785: Added support for pattern Layout to abbreviate logger or class names except n rightmost words

2021-08-04 Thread GitBox
carterkozak commented on a change in pull request #542: URL: https://github.com/apache/logging-log4j2/pull/542#discussion_r682718072 ## File path: log4j-core/src/main/java/org/apache/logging/log4j/core/pattern/NameAbbreviator.java ## @@ -365,4 +372,51 @@ public void abbreviate

[GitHub] [logging-log4j2] carterkozak commented on a change in pull request #542: LOG4J2-2785: Added support for pattern Layout to abbreviate logger or class names except n rightmost words

2021-08-04 Thread GitBox
carterkozak commented on a change in pull request #542: URL: https://github.com/apache/logging-log4j2/pull/542#discussion_r682720416 ## File path: log4j-core/src/main/java/org/apache/logging/log4j/core/pattern/NameAbbreviator.java ## @@ -365,4 +372,51 @@ public void abbreviate

[GitHub] [logging-log4j2] sanyarnd opened a new pull request #558: Add missing JsonLayout properties

2021-08-04 Thread GitBox
sanyarnd opened a new pull request #558: URL: https://github.com/apache/logging-log4j2/pull/558 Add 3 missing properties from https://logging.apache.org/log4j/2.x/manual/layouts.html -- This is an automated message from the Apache Git Service. To respond to the message, please log on to

[GitHub] [logging-log4j2] schlosna commented on a change in pull request #555: Improve worst-case NameAbbreviator performance

2021-08-04 Thread GitBox
schlosna commented on a change in pull request #555: URL: https://github.com/apache/logging-log4j2/pull/555#discussion_r683117411 ## File path: log4j-core/src/main/java/org/apache/logging/log4j/core/pattern/NameAbbreviator.java ## @@ -285,40 +285,40 @@ public PatternAbbreviato

[GitHub] [logging-log4j2] vy commented on pull request #548: LOG4J2-2885 Add support for US-style date patterns and micro/nano seconds to FixedDateFormat

2021-08-05 Thread GitBox
vy commented on pull request #548: URL: https://github.com/apache/logging-log4j2/pull/548#issuecomment-893239718 :man_facepalming: @carterkozak, right, thanks for the warning, fixed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to G

[GitHub] [logging-log4j2] sman-81 commented on pull request #548: LOG4J2-2885 Add support for US-style date patterns and micro/nano seconds to FixedDateFormat

2021-08-05 Thread GitBox
sman-81 commented on pull request #548: URL: https://github.com/apache/logging-log4j2/pull/548#issuecomment-893295999 Hi @carterkozak, hi @vy, thank you both for fixing the **reviapi** build failure. I should have spotted this myself. I must admit I've rarely built the whole project a

[GitHub] [logging-log4j2] sman-81 edited a comment on pull request #548: LOG4J2-2885 Add support for US-style date patterns and micro/nano seconds to FixedDateFormat

2021-08-05 Thread GitBox
sman-81 edited a comment on pull request #548: URL: https://github.com/apache/logging-log4j2/pull/548#issuecomment-893295999 Hi @carterkozak, hi @vy, thank you both for fixing the `revapi` build failure which I have reproduced earlier. I should have spotted this myself. I must admit I

[GitHub] [logging-log4j2] sman-81 edited a comment on pull request #548: LOG4J2-2885 Add support for US-style date patterns and micro/nano seconds to FixedDateFormat

2021-08-05 Thread GitBox
sman-81 edited a comment on pull request #548: URL: https://github.com/apache/logging-log4j2/pull/548#issuecomment-893295999 Hi @carterkozak, hi @vy, thank you both for fixing the `revapi` build failure which I have reproduced earlier. I should have spotted this myself. I must admit I

[GitHub] [logging-log4j2] carterkozak commented on pull request #548: LOG4J2-2885 Add support for US-style date patterns and micro/nano seconds to FixedDateFormat

2021-08-05 Thread GitBox
carterkozak commented on pull request #548: URL: https://github.com/apache/logging-log4j2/pull/548#issuecomment-892717422 @vy I think this broke builds on release-2.x for the same reason the PR build is failing, revapi needs the enum ordinal changes to be acknowledged. -- This is an auto

[GitHub] [logging-log4j2] carterkozak commented on a change in pull request #542: LOG4J2-2785: Added support for pattern Layout to abbreviate logger or class names except n rightmost words

2021-08-05 Thread GitBox
carterkozak commented on a change in pull request #542: URL: https://github.com/apache/logging-log4j2/pull/542#discussion_r682718072 ## File path: log4j-core/src/main/java/org/apache/logging/log4j/core/pattern/NameAbbreviator.java ## @@ -365,4 +372,51 @@ public void abbreviate

[GitHub] [logging-log4j2] vy commented on pull request #548: LOG4J2-2885 Add support for US-style date patterns and micro/nano seconds to FixedDateFormat

2021-08-05 Thread GitBox
vy commented on pull request #548: URL: https://github.com/apache/logging-log4j2/pull/548#issuecomment-893239718 :man_facepalming: @carterkozak, right, thanks for the warning, fixed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to G

[GitHub] [logging-log4j2] sman-81 commented on pull request #548: LOG4J2-2885 Add support for US-style date patterns and micro/nano seconds to FixedDateFormat

2021-08-05 Thread GitBox
sman-81 commented on pull request #548: URL: https://github.com/apache/logging-log4j2/pull/548#issuecomment-893295999 Hi @carterkozak, hi @vy, thank you both for fixing the **reviapi** build failure. I should have spotted this myself. I must admit I've rarely built the whole project a

[GitHub] [logging-log4j2] carterkozak closed pull request #557: LOG4J2-3133: log4j-slf4j-impl provides new singleton accessors from slf4j-api 1.7.14

2021-08-05 Thread GitBox
carterkozak closed pull request #557: URL: https://github.com/apache/logging-log4j2/pull/557 -- 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-log4j2] vy merged pull request #552: (doc): Fix XML element names in javadoc

2021-08-05 Thread GitBox
vy merged pull request #552: URL: https://github.com/apache/logging-log4j2/pull/552 -- 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: notifications-

[GitHub] [logging-log4j2] schlosna commented on a change in pull request #555: Improve worst-case NameAbbreviator performance

2021-08-05 Thread GitBox
schlosna commented on a change in pull request #555: URL: https://github.com/apache/logging-log4j2/pull/555#discussion_r683117411 ## File path: log4j-core/src/main/java/org/apache/logging/log4j/core/pattern/NameAbbreviator.java ## @@ -285,40 +285,40 @@ public PatternAbbreviato

[GitHub] [logging-log4j2] carterkozak merged pull request #554: LOG4J2-3083 Fix slf4j calling class lookup using both accessors

2021-08-05 Thread GitBox
carterkozak merged pull request #554: URL: https://github.com/apache/logging-log4j2/pull/554 -- 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-log4j2] carterkozak commented on pull request #557: LOG4J2-3133: log4j-slf4j-impl provides new singleton accessors from slf4j-api 1.7.14

2021-08-05 Thread GitBox
carterkozak commented on pull request #557: URL: https://github.com/apache/logging-log4j2/pull/557#issuecomment-892737122 merged -- 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 comm

[GitHub] [logging-log4j2] vy commented on pull request #545: Add markdown links to README.md file

2021-08-05 Thread GitBox
vy commented on pull request #545: URL: https://github.com/apache/logging-log4j2/pull/545#issuecomment-892706763 Looks like a spam. -- 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 c

[GitHub] [logging-log4j2] vy closed pull request #545: Add markdown links to README.md file

2021-08-05 Thread GitBox
vy closed pull request #545: URL: https://github.com/apache/logging-log4j2/pull/545 -- 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: notifications-

[GitHub] [logging-log4j2] carterkozak merged pull request #553: LOG4J2-3083 Fix slf4j calling class lookup using both accessors

2021-08-05 Thread GitBox
carterkozak merged pull request #553: URL: https://github.com/apache/logging-log4j2/pull/553 -- 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-log4j2] sman-81 commented on pull request #544: LOG4J2-3115: Remember previously computed strings in NamePatternConverter for performance ~3x

2021-08-05 Thread GitBox
sman-81 commented on pull request #544: URL: https://github.com/apache/logging-log4j2/pull/544#issuecomment-893394475 Hi again @carterkozak interesting what you've found. Thanks for looking into this. Your research puts a question mark behind the usefulness of my pull request. My benc

[GitHub] [logging-log4j2] sman-81 commented on a change in pull request #542: LOG4J2-2785: Added support for pattern Layout to abbreviate logger or class names except n rightmost words

2021-08-05 Thread GitBox
sman-81 commented on a change in pull request #542: URL: https://github.com/apache/logging-log4j2/pull/542#discussion_r683418964 ## File path: log4j-core/src/main/java/org/apache/logging/log4j/core/pattern/NameAbbreviator.java ## @@ -365,4 +372,51 @@ public void abbreviate(fin

[GitHub] [logging-log4j2] sman-81 commented on a change in pull request #542: LOG4J2-2785: Added support for pattern Layout to abbreviate logger or class names except n rightmost words

2021-08-05 Thread GitBox
sman-81 commented on a change in pull request #542: URL: https://github.com/apache/logging-log4j2/pull/542#discussion_r683419578 ## File path: log4j-core/src/main/java/org/apache/logging/log4j/core/pattern/NameAbbreviator.java ## @@ -365,4 +372,51 @@ public void abbreviate(fin

[GitHub] [logging-log4j2] carterkozak commented on a change in pull request #555: Improve worst-case NameAbbreviator performance

2021-08-05 Thread GitBox
carterkozak commented on a change in pull request #555: URL: https://github.com/apache/logging-log4j2/pull/555#discussion_r683429654 ## File path: log4j-core/src/main/java/org/apache/logging/log4j/core/pattern/NameAbbreviator.java ## @@ -285,40 +285,40 @@ public PatternAbbrevi

[GitHub] [logging-log4j2] sman-81 edited a comment on pull request #544: LOG4J2-3115: Remember previously computed strings in NamePatternConverter for performance ~3x

2021-08-05 Thread GitBox
sman-81 edited a comment on pull request #544: URL: https://github.com/apache/logging-log4j2/pull/544#issuecomment-893394475 Hi again @carterkozak interesting what you've found. Thanks for looking into this. Your research puts a question mark behind the usefulness of my pull request.

[GitHub] [logging-log4j2] carterkozak commented on pull request #555: Improve worst-case NameAbbreviator performance

2021-08-05 Thread GitBox
carterkozak commented on pull request #555: URL: https://github.com/apache/logging-log4j2/pull/555#issuecomment-893543113 ## Azul Zulu JDK 16.0.2, OpenJDK 64-Bit Server VM, 16.0.2+7 ### This PR (as is, using `indexOf(String, int)`) _1_ (run numbers labeled to account for therma

[GitHub] [logging-log4j2] carterkozak commented on pull request #544: LOG4J2-3115: Remember previously computed strings in NamePatternConverter for performance ~3x

2021-08-05 Thread GitBox
carterkozak commented on pull request #544: URL: https://github.com/apache/logging-log4j2/pull/544#issuecomment-893569664 > My benchmarks were with a single thread only. In practice, is this code executed in multiple log4j2 threads? As usual, the answer is “it depends” :-) in th

[GitHub] [logging-log4j2] dependabot[bot] commented on pull request #546: Bump tomcat-catalina from 8.5.20 to 10.0.8

2021-08-05 Thread GitBox
dependabot[bot] commented on pull request #546: URL: https://github.com/apache/logging-log4j2/pull/546#issuecomment-893984027 Superseded by #559. -- 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

[GitHub] [logging-log4j2] dependabot[bot] closed pull request #546: Bump tomcat-catalina from 8.5.20 to 10.0.8

2021-08-05 Thread GitBox
dependabot[bot] closed pull request #546: URL: https://github.com/apache/logging-log4j2/pull/546 -- 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: n

[GitHub] [logging-log4j2] dependabot[bot] opened a new pull request #559: Bump tomcat-catalina from 8.5.20 to 10.0.10

2021-08-05 Thread GitBox
dependabot[bot] opened a new pull request #559: URL: https://github.com/apache/logging-log4j2/pull/559 Bumps tomcat-catalina from 8.5.20 to 10.0.10. [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.to

[GitHub] [logging-log4j2] carterkozak commented on pull request #542: LOG4J2-2785: Added support for pattern Layout to abbreviate logger or class names except n rightmost words

2021-08-11 Thread GitBox
carterkozak commented on pull request #542: URL: https://github.com/apache/logging-log4j2/pull/542#issuecomment-897285253 When I have some time to tinker, I think this feature could be added to the existing abbreviator. All existing patterns effectively use `rightWordCount=1`, however we c

[GitHub] [logging-log4net] Evgentus0 commented on pull request #48: Fixes LOG4NET-587 Mutex ~ UnauthorizedAccessException Access to the path is denied

2021-08-13 Thread GitBox
Evgentus0 commented on pull request #48: URL: https://github.com/apache/logging-log4net/pull/48#issuecomment-898424034 Hi @dpsenner, I am not fully understand why this pull request still is not merge? I still face with mutex issue described in this pull request. Could we merge this changes

[GitHub] [logging-log4j2] dependabot[bot] commented on pull request #482: Bump maven-core from 3.6.0 to 3.8.1

2021-08-15 Thread GitBox
dependabot[bot] commented on pull request #482: URL: https://github.com/apache/logging-log4j2/pull/482#issuecomment-899195968 Superseded by #560. -- 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

[GitHub] [logging-log4j2] dependabot[bot] opened a new pull request #560: Bump maven-core from 3.6.0 to 3.8.2

2021-08-15 Thread GitBox
dependabot[bot] opened a new pull request #560: URL: https://github.com/apache/logging-log4j2/pull/560 Bumps [maven-core](https://github.com/apache/maven) from 3.6.0 to 3.8.2. Commits https://github.com/apache/maven/commit/ea98e05a04480131370aa0c110b8c54cf726c06f";>ea98e05 [ma

[GitHub] [logging-log4j2] dependabot[bot] closed pull request #482: Bump maven-core from 3.6.0 to 3.8.1

2021-08-15 Thread GitBox
dependabot[bot] closed pull request #482: URL: https://github.com/apache/logging-log4j2/pull/482 -- 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: n

[GitHub] [logging-log4cxx] ams-tschoening commented on pull request #67: Fix example in usage.md missing semicolon

2021-08-15 Thread GitBox
ams-tschoening commented on pull request #67: URL: https://github.com/apache/logging-log4cxx/pull/67#issuecomment-899268642 @rm5248 How about the individual logging statements? Don't they need a semicolon as well? All of those macros have been changed with 0.10.X already: > Regarding

[GitHub] [logging-log4j2] dependabot[bot] opened a new pull request #561: Bump actions/setup-java from 2.1.0 to 2.2.0

2021-08-16 Thread GitBox
dependabot[bot] opened a new pull request #561: URL: https://github.com/apache/logging-log4j2/pull/561 Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2.1.0 to 2.2.0. Release notes Sourced from https://github.com/actions/setup-java/releases";>actions/setup-j

[GitHub] [logging-log4cxx] rm5248 merged pull request #67: Fix example in usage.md missing semicolon

2021-08-17 Thread GitBox
rm5248 merged pull request #67: URL: https://github.com/apache/logging-log4cxx/pull/67 -- 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: notificatio

[GitHub] [logging-log4j2] arVahedi opened a new pull request #562: Close jira issue LOG4J2-3138

2021-08-17 Thread GitBox
arVahedi opened a new pull request #562: URL: https://github.com/apache/logging-log4j2/pull/562 Add Enhanced json layout for defined dynamic class as model of json structure Signed-off-by: arVahedi -- This is an automated message from the Apache Git Service. To respond to the mess

[GitHub] [logging-log4j2] vy commented on pull request #562: Close jira issue LOG4J2-3138

2021-08-18 Thread GitBox
vy commented on pull request #562: URL: https://github.com/apache/logging-log4j2/pull/562#issuecomment-901190938 Why don't you simply use `JsonTemplateLayout`? On Wed, 18 Aug 2021, 02:09 Alireza Vahedi ***@***.***> wrote: > Add Enhanced json layout for defined dynamic class as

[GitHub] [logging-log4cxx] rm5248 merged pull request #67: Fix example in usage.md missing semicolon

2021-08-18 Thread GitBox
rm5248 merged pull request #67: URL: https://github.com/apache/logging-log4cxx/pull/67 -- 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: notificatio

[GitHub] [logging-log4j2] vy commented on pull request #562: Close jira issue LOG4J2-3138

2021-08-18 Thread GitBox
vy commented on pull request #562: URL: https://github.com/apache/logging-log4j2/pull/562#issuecomment-901190938 Why don't you simply use `JsonTemplateLayout`? On Wed, 18 Aug 2021, 02:09 Alireza Vahedi ***@***.***> wrote: > Add Enhanced json layout for defined dynamic class as

[GitHub] [logging-log4j-kotlin] vladimirfx commented on pull request #8: LOG4J2-2433 Coroutines Support

2021-08-18 Thread GitBox
vladimirfx commented on pull request #8: URL: https://github.com/apache/logging-log4j-kotlin/pull/8#issuecomment-901279407 Sorry for commenting closed pull request. When it might be released? -- This is an automated message from the Apache Git Service. To respond to the message, please l

[GitHub] [logging-log4j2] arVahedi commented on pull request #562: Close jira issue LOG4J2-3138

2021-08-18 Thread GitBox
arVahedi commented on pull request #562: URL: https://github.com/apache/logging-log4j2/pull/562#issuecomment-901385314 > Why don't you simply use `JsonTemplateLayout`? > > On Wed, 18 Aug 2021, 02:09 Alireza Vahedi ***@***.***> wrote: > > > Add Enhanced json layout for defined d

[GitHub] [logging-log4j2] arVahedi edited a comment on pull request #562: Close jira issue LOG4J2-3138

2021-08-18 Thread GitBox
arVahedi edited a comment on pull request #562: URL: https://github.com/apache/logging-log4j2/pull/562#issuecomment-901385314 > Why don't you simply use `JsonTemplateLayout`? > > > `JsonTemplateLayout` is a great feature, but it is still limited. imagine I need to log som

[GitHub] [logging-log4j2] arVahedi edited a comment on pull request #562: Close jira issue LOG4J2-3138

2021-08-18 Thread GitBox
arVahedi edited a comment on pull request #562: URL: https://github.com/apache/logging-log4j2/pull/562#issuecomment-901385314 > Why don't you simply use `JsonTemplateLayout`? > > > `JsonTemplateLayout` is a great feature, but it is still limited. imagine I need to log som

[GitHub] [logging-log4j2] arVahedi edited a comment on pull request #562: Close jira issue LOG4J2-3138

2021-08-18 Thread GitBox
arVahedi edited a comment on pull request #562: URL: https://github.com/apache/logging-log4j2/pull/562#issuecomment-901385314 > Why don't you simply use `JsonTemplateLayout`? > > > `JsonTemplateLayout` is a great feature, but it is still limited. imagine I need to log som

[GitHub] [logging-log4j2] carterkozak commented on pull request #562: Close jira issue LOG4J2-3138

2021-08-18 Thread GitBox
carterkozak commented on pull request #562: URL: https://github.com/apache/logging-log4j2/pull/562#issuecomment-901392195 > imagine I need to log some value out of LogEvent context and based on some logic at runtime, for example generate an activityId, digest value or something like that a

[GitHub] [logging-log4j2] arVahedi edited a comment on pull request #562: Close jira issue LOG4J2-3138

2021-08-18 Thread GitBox
arVahedi edited a comment on pull request #562: URL: https://github.com/apache/logging-log4j2/pull/562#issuecomment-901385314 > Why don't you simply use `JsonTemplateLayout`? > > > `JsonTemplateLayout` is a great feature, but it is still limited. imagine I need to log som

[GitHub] [logging-log4j2] arVahedi commented on pull request #562: Close jira issue LOG4J2-3138

2021-08-18 Thread GitBox
arVahedi commented on pull request #562: URL: https://github.com/apache/logging-log4j2/pull/562#issuecomment-901630304 > > imagine I need to log some value out of LogEvent context and based on some logic at runtime, for example generate an activityId, digest value or something like that at

[GitHub] [logging-log4j2] arVahedi edited a comment on pull request #562: Close jira issue LOG4J2-3138

2021-08-18 Thread GitBox
arVahedi edited a comment on pull request #562: URL: https://github.com/apache/logging-log4j2/pull/562#issuecomment-901630304 > > imagine I need to log some value out of LogEvent context and based on some logic at runtime, for example generate an activityId, digest value or something like

[GitHub] [logging-log4j2] vy commented on pull request #562: Close jira issue LOG4J2-3138

2021-08-18 Thread GitBox
vy commented on pull request #562: URL: https://github.com/apache/logging-log4j2/pull/562#issuecomment-901639026 I will back at my desk in a week or so, then I will be able to review this PR. I'd appreciate holding this PR on hold until then. Alireza, are you sure you understand Ca

[GitHub] [logging-log4j-kotlin] rocketraman commented on pull request #8: LOG4J2-2433 Coroutines Support

2021-08-19 Thread GitBox
rocketraman commented on pull request #8: URL: https://github.com/apache/logging-log4j-kotlin/pull/8#issuecomment-901852051 @jvz what do you think about a new release? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use

[GitHub] [logging-log4j-kotlin] jvz commented on pull request #8: LOG4J2-2433 Coroutines Support

2021-08-19 Thread GitBox
jvz commented on pull request #8: URL: https://github.com/apache/logging-log4j-kotlin/pull/8#issuecomment-901925243 I've actually gotten back into using Kotlin lately thanks to Spinnaker using it in newer code. I'm pretty booked this weekend, but I can help get a release out after that. S

[GitHub] [logging-log4j-kotlin] vladimirfx commented on pull request #8: LOG4J2-2433 Coroutines Support

2021-08-19 Thread GitBox
vladimirfx commented on pull request #8: URL: https://github.com/apache/logging-log4j-kotlin/pull/8#issuecomment-902002062 @jvz thank you for your time! Very waiting. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use t

[GitHub] [logging-log4j2] PeripheralMike opened a new pull request #563: (doc) README.md - Issue Tracking - Spelling mistake

2021-08-20 Thread GitBox
PeripheralMike opened a new pull request #563: URL: https://github.com/apache/logging-log4j2/pull/563 Noticed a spelling mistake in the README. Read the contribution documentation and included the (doc) prefix -- This is an automated message from the Apache Git Service. To respond to the

[GitHub] [logging-log4j2] rgoers merged pull request #563: (doc) README.md - Issue Tracking - Spelling mistake

2021-08-21 Thread GitBox
rgoers merged pull request #563: URL: https://github.com/apache/logging-log4j2/pull/563 -- 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-log4cxx] rm5248 opened a new pull request #68: LOGCXX-431

2021-08-21 Thread GitBox
rm5248 opened a new pull request #68: URL: https://github.com/apache/logging-log4cxx/pull/68 In order to provide a way to block signals to threads created by log4cxx, a new API has been created to set functions that will be called before a thread has started, information about the thread t

[GitHub] [logging-log4j2] redapel opened a new pull request #564: LOG4J2-3122 fix Logging to Log4j2 MongoDb4 Appender get ERROR on trace, debug and info level.

2021-08-21 Thread GitBox
redapel opened a new pull request #564: URL: https://github.com/apache/logging-log4j2/pull/564 After do some debugging, i found out that there are some part of the code that is missing in MongoDb4Provider class when creating log4j-mongodb4 module, knowing that this part of the code is exis

[GitHub] [logging-log4j2] garydgregory commented on pull request #564: LOG4J2-3122 fix Logging to Log4j2 MongoDb4 Appender get ERROR on trace, debug and info level.

2021-08-21 Thread GitBox
garydgregory commented on pull request #564: URL: https://github.com/apache/logging-log4j2/pull/564#issuecomment-903173794 > After do some debugging, i found out that there are some part of the code that is missing in MongoDb4Provider class when creating log4j-mongodb4 module, knowing that

[GitHub] [logging-log4j2] asapha opened a new pull request #565: LOG4J2-2808 LoggerContext should skip looking up localhost when hostName is configured

2021-08-22 Thread GitBox
asapha opened a new pull request #565: URL: https://github.com/apache/logging-log4j2/pull/565 https://issues.apache.org/jira/browse/LOG4J2-2808 -- 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 th

[GitHub] [logging-log4j2] garydgregory commented on a change in pull request #565: LOG4J2-2808 LoggerContext should skip looking up localhost when hostName is configured

2021-08-22 Thread GitBox
garydgregory commented on a change in pull request #565: URL: https://github.com/apache/logging-log4j2/pull/565#discussion_r693526761 ## File path: log4j-core/src/main/java/org/apache/logging/log4j/core/LoggerContext.java ## @@ -609,7 +610,13 @@ public Configuration setConfigu

[GitHub] [logging-log4j2] asapha commented on a change in pull request #565: LOG4J2-2808 LoggerContext should skip looking up localhost when hostName is configured

2021-08-22 Thread GitBox
asapha commented on a change in pull request #565: URL: https://github.com/apache/logging-log4j2/pull/565#discussion_r693527832 ## File path: log4j-core/src/main/java/org/apache/logging/log4j/core/LoggerContext.java ## @@ -609,7 +610,13 @@ public Configuration setConfiguration

[GitHub] [logging-log4j2] carterkozak merged pull request #566: LOG4J2-3141: Deprecate and stub out Manager.setEndOfBatch

2021-08-23 Thread GitBox
carterkozak merged pull request #566: URL: https://github.com/apache/logging-log4j2/pull/566 -- 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-log4j2] jjmms opened a new pull request #567: LOG4J2-3142: Use log event time millis for timestamp in log event adapter

2021-08-23 Thread GitBox
jjmms opened a new pull request #567: URL: https://github.com/apache/logging-log4j2/pull/567 https://issues.apache.org/jira/browse/LOG4J2-3142 When using the `LogEventAdapter` we should return the `LogEvent.getTimeMillis()` as this is the equivalent timestamp value from Log4j2 to Lo

[GitHub] [logging-log4j2] carterkozak commented on pull request #567: LOG4J2-3142: Use log event time millis for timestamp in log event adapter

2021-08-23 Thread GitBox
carterkozak commented on pull request #567: URL: https://github.com/apache/logging-log4j2/pull/567#issuecomment-904089216 Looks reasonable to me. Any chance you can provide a minimal test case? Something as simple as an additional assert in `RewriteAppenderTest` should do the trick, we can

[GitHub] [logging-log4j2] jjmms commented on pull request #567: LOG4J2-3142: Use log event time millis for timestamp in log event adapter

2021-08-23 Thread GitBox
jjmms commented on pull request #567: URL: https://github.com/apache/logging-log4j2/pull/567#issuecomment-904150662 I have written a test but unable to run it due to errors in Maven build and test per CI errors: ``` [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compil

[GitHub] [logging-log4j2] carterkozak commented on pull request #567: LOG4J2-3142: Use log event time millis for timestamp in log event adapter

2021-08-23 Thread GitBox
carterkozak commented on pull request #567: URL: https://github.com/apache/logging-log4j2/pull/567#issuecomment-904155637 Sorry, the `master` branch isn't in the best state, I generally target `release-2.x` initially and port commits to master. CI builds are running correctly on that branc

[GitHub] [logging-log4j2] carterkozak opened a new pull request #568: Prefer `string.getBytes(Charset)` over `string.getBytes(String)`

2021-08-23 Thread GitBox
carterkozak opened a new pull request #568: URL: https://github.com/apache/logging-log4j2/pull/568 Rerunning the benchmarks on modern java (in this case java 16, however many optimizations are available in java 11 due to the compact string optimizations) shows that the previous assumpt

[GitHub] [logging-log4j2] garydgregory commented on pull request #568: Prefer `string.getBytes(Charset)` over `string.getBytes(String)`

2021-08-23 Thread GitBox
garydgregory commented on pull request #568: URL: https://github.com/apache/logging-log4j2/pull/568#issuecomment-904185436 Nice. I like that we can simplify. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL ab

[GitHub] [logging-log4j2] carterkozak commented on pull request #568: Prefer `string.getBytes(Charset)` over `string.getBytes(String)`

2021-08-23 Thread GitBox
carterkozak commented on pull request #568: URL: https://github.com/apache/logging-log4j2/pull/568#issuecomment-904190754 Hoping the smaller methods are inlined more aggressively as well. -- This is an automated message from the Apache Git Service. To respond to the message, please log on

[GitHub] [logging-log4cxx] ams-tschoening commented on a change in pull request #68: LOGCXX-431

2021-08-24 Thread GitBox
ams-tschoening commented on a change in pull request #68: URL: https://github.com/apache/logging-log4cxx/pull/68#discussion_r694560188 ## File path: src/main/cpp/threadutility.cpp ## @@ -0,0 +1,91 @@ +#include "log4cxx/helpers/threadutility.h" +#include "log4cxx/private/log4cxx

[GitHub] [logging-log4cxx] ams-tschoening opened a new pull request #69: CMAKE in VS 2019 16.11.1 warns about missing file extensions…

2021-08-24 Thread GitBox
ams-tschoening opened a new pull request #69: URL: https://github.com/apache/logging-log4cxx/pull/69 for XML-related tests: > CMake Warning (dev) at src/test/cpp/xml/CMakeLists.txt:1 (add_executable): > Policy CMP0115 is not set: Source file extensions must be explicit. Run >

[GitHub] [logging-log4j2] jjmms commented on pull request #567: LOG4J2-3142: Use log event time millis for timestamp in log event adapter

2021-08-24 Thread GitBox
jjmms commented on pull request #567: URL: https://github.com/apache/logging-log4j2/pull/567#issuecomment-904468892 Updated PR with a test case to ensure log event timestamps happen after initial log time. -- This is an automated message from the Apache Git Service. To respond to the mes

[GitHub] [logging-log4j2] jjmms edited a comment on pull request #567: LOG4J2-3142: Use log event time millis for timestamp in log event adapter

2021-08-24 Thread GitBox
jjmms edited a comment on pull request #567: URL: https://github.com/apache/logging-log4j2/pull/567#issuecomment-904468892 Updated PR with an additional assertion in `RewriteAppenderTest` to ensure log event timestamps happen after initial log time. -- This is an automated message from t

<    24   25   26   27   28   29   30   31   32   33   >