Re: [PR] Add Develocity integration (logging-log4j2)

2024-06-04 Thread via GitHub
ppkarwasz commented on PR #2641: URL: https://github.com/apache/logging-log4j2/pull/2641#issuecomment-2148396826 @clayburn, Thanks for the information. We use reusable builds in our workflow, I am not entirely sure that the reusable workflow will have access to the environment

Re: [PR] Add Develocity integration (logging-log4j2)

2024-06-04 Thread via GitHub
ppkarwasz merged PR #2641: URL: https://github.com/apache/logging-log4j2/pull/2641 -- 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-unsubsc

Re: [PR] Add Develocity integration (logging-log4j2)

2024-06-04 Thread via GitHub
clayburn commented on PR #2641: URL: https://github.com/apache/logging-log4j2/pull/2641#issuecomment-2148408013 The reusable workflow may change what needs to happen here: https://docs.github.com/en/actions/using-workflows/reusing-workflows#using-inputs-and-secrets-in-a-reusable-workflow

Re: [PR] Add Develocity integration (logging-log4j2)

2024-06-04 Thread via GitHub
ppkarwasz commented on PR #2641: URL: https://github.com/apache/logging-log4j2/pull/2641#issuecomment-2148440553 @clayburn, Thanks, I fixed it in efb4a0e93b732710a30c9d0dcb643fad96fc6b8d. We'll test the "Predictive Test Selection" feature for a couple of weeks and then we'll st

Re: [PR] Bump org.jctools:jctools-core from 4.0.4 to 4.0.5 (logging-log4j2)

2024-06-04 Thread via GitHub
ppkarwasz commented on PR #2637: URL: https://github.com/apache/logging-log4j2/pull/2637#issuecomment-2148862012 @dependabot rebase -- 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 co

Re: [PR] Bump org.jctools:jctools-core from 4.0.4 to 4.0.5 (logging-log4j2)

2024-06-04 Thread via GitHub
ppkarwasz commented on PR #2637: URL: https://github.com/apache/logging-log4j2/pull/2637#issuecomment-2148890242 @dependabot rebase -- 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 co

Re: [PR] Bump org.jctools:jctools-core from 4.0.4 to 4.0.5 (logging-log4j2)

2024-06-04 Thread via GitHub
github-actions[bot] merged PR #2637: URL: https://github.com/apache/logging-log4j2/pull/2637 -- 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

Re: [PR] Bump github/codeql-action from 3.25.7 to 3.25.8 [logging-parent]

2024-06-05 Thread via GitHub
github-actions[bot] merged PR #189: URL: https://github.com/apache/logging-parent/pull/189 -- 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

Re: [PR] Bump com.gradle:develocity-maven-extension from 1.21.3 to 1.21.4 (logging-log4j2)

2024-06-05 Thread via GitHub
github-actions[bot] merged PR #2643: URL: https://github.com/apache/logging-log4j2/pull/2643 -- 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

Re: [PR] Bump co.elastic.clients:elasticsearch-java from 8.13.4 to 8.14.0 (logging-log4j2)

2024-06-06 Thread via GitHub
github-actions[bot] merged PR #2644: URL: https://github.com/apache/logging-log4j2/pull/2644 -- 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

[PR] Revamp the `Layouts` page (logging-log4j2)

2024-06-06 Thread via GitHub
vy opened a new pull request, #2645: URL: https://github.com/apache/logging-log4j2/pull/2645 Fixes #2527. -- 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-

Re: [I] OutOfMemoryException because WatchManager isn't garbage collected (logging-log4j2)

2024-06-06 Thread via GitHub
vy commented on issue #2640: URL: https://github.com/apache/logging-log4j2/issues/2640#issuecomment-2152264833 @Yavor16, could you provide a little bit more context, please? * Could you share your Log4j configuration file, i.e., `log4j2.xml`? * What kind of an application is this?

Re: [I] OutOfMemoryException because WatchManager isn't garbage collected (logging-log4j2)

2024-06-06 Thread via GitHub
Yavor16 commented on issue #2640: URL: https://github.com/apache/logging-log4j2/issues/2640#issuecomment-2152369386 We don't have configuration file. Our app mainly uses Spring + Flowable. The spring version is 5.3.34 and flowable 6.8.0. We generate new LoggerContext for every step, so we

Re: [I] OutOfMemoryException because WatchManager isn't garbage collected (logging-log4j2)

2024-06-06 Thread via GitHub
vy commented on issue #2640: URL: https://github.com/apache/logging-log4j2/issues/2640#issuecomment-2152403827 Generating a new `LoggerContext` for every step... seems like pretty much overkill to me. Why do you do this? Why is simply using the implicitly created static `LoggerContext` not

Re: [I] OutOfMemoryException because WatchManager isn't garbage collected (logging-log4j2)

2024-06-06 Thread via GitHub
Yavor16 commented on issue #2640: URL: https://github.com/apache/logging-log4j2/issues/2640#issuecomment-2152852887 We do it because for every step we create new file + new file appender which after they are persisted, are deleted. I tried now to create single LoggerContext instance but t

Re: [I] OutOfMemoryException because WatchManager isn't garbage collected (logging-log4j2)

2024-06-07 Thread via GitHub
vy commented on issue #2640: URL: https://github.com/apache/logging-log4j2/issues/2640#issuecomment-2154294700 @Yavor16, if you need to change the file name, you can just reconfigure the context: ``` import org.apache.logging.log4j.core.config.Configurator; URI configSource

Re: [I] OutOfMemoryException because WatchManager isn't garbage collected (logging-log4j2)

2024-06-07 Thread via GitHub
ppkarwasz commented on issue #2640: URL: https://github.com/apache/logging-log4j2/issues/2640#issuecomment-2154817253 This is related to #2255: if hundreds of logger contexts are created, but they are not stopped, the application can easily run out of memory. -- This is an automated mess

Re: [I] OutOfMemoryException because WatchManager isn't garbage collected (logging-log4j2)

2024-06-07 Thread via GitHub
Yavor16 commented on issue #2640: URL: https://github.com/apache/logging-log4j2/issues/2640#issuecomment-2154868957 After the advice I tried to create only one LoggerContext and to close every FileAppender after the file has been persisted and the OOM is gone. Unfortunately, know I face a

Re: [PR] Bump com.gradle:develocity-maven-extension from 1.21.3 to 1.21.4 (logging-log4j2)

2024-06-07 Thread via GitHub
github-actions[bot] merged PR #2642: URL: https://github.com/apache/logging-log4j2/pull/2642 -- 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

[PR] Create a `Migrating from Log4j 1 to Log4j 2` guide (logging-log4j2)

2024-06-10 Thread via GitHub
ppkarwasz opened a new pull request, #2649: URL: https://github.com/apache/logging-log4j2/pull/2649 Closes #2519. We restructure the pages related to migration between Log4j 1 and Log4j 2 to provide a new "Step by step" guide on migrating between the two major version. The new

Re: [PR] Revamp the `Layouts` page (logging-log4j2)

2024-06-10 Thread via GitHub
ppkarwasz commented on code in PR #2645: URL: https://github.com/apache/logging-log4j2/pull/2645#discussion_r1632747641 ## src/site/antora/modules/ROOT/pages/manual/layouts.adoc: ## @@ -14,2120 +14,863 @@ See the License for the specific language governing permissions and

Re: [PR] Revamp the `Layouts` page (logging-log4j2)

2024-06-10 Thread via GitHub
vy commented on code in PR #2645: URL: https://github.com/apache/logging-log4j2/pull/2645#discussion_r1633691523 ## src/site/antora/modules/ROOT/pages/manual/pattern-layout.adoc: ## @@ -0,0 +1,1719 @@ + +Licensed to the Apache Software Foundation (ASF) under one or more

Re: [PR] Revamp the `Layouts` page (logging-log4j2)

2024-06-10 Thread via GitHub
vy commented on code in PR #2645: URL: https://github.com/apache/logging-log4j2/pull/2645#discussion_r1633691789 ## src/site/antora/modules/ROOT/pages/manual/layouts.adoc: ## @@ -14,2120 +14,863 @@ See the License for the specific language governing permissions and lim

Re: [PR] Revamp the `Layouts` page (logging-log4j2)

2024-06-10 Thread via GitHub
vy commented on code in PR #2645: URL: https://github.com/apache/logging-log4j2/pull/2645#discussion_r1633692148 ## src/site/antora/modules/ROOT/pages/manual/pattern-layout.adoc: ## @@ -0,0 +1,1719 @@ + +Licensed to the Apache Software Foundation (ASF) under one or more

Re: [PR] Revamp the `Layouts` page (logging-log4j2)

2024-06-10 Thread via GitHub
vy commented on code in PR #2645: URL: https://github.com/apache/logging-log4j2/pull/2645#discussion_r1633693734 ## src/site/antora/modules/ROOT/pages/manual/pattern-layout.adoc: ## @@ -0,0 +1,1719 @@ + +Licensed to the Apache Software Foundation (ASF) under one or more

Re: [PR] Revamp the `Layouts` page (logging-log4j2)

2024-06-10 Thread via GitHub
vy commented on code in PR #2645: URL: https://github.com/apache/logging-log4j2/pull/2645#discussion_r1633701037 ## src/site/antora/modules/ROOT/pages/manual/pattern-layout.adoc: ## @@ -0,0 +1,1719 @@ + +Licensed to the Apache Software Foundation (ASF) under one or more

Re: [PR] Revamp the `Layouts` page (logging-log4j2)

2024-06-10 Thread via GitHub
vy commented on code in PR #2645: URL: https://github.com/apache/logging-log4j2/pull/2645#discussion_r1633701810 ## src/site/antora/modules/ROOT/pages/manual/pattern-layout.adoc: ## @@ -0,0 +1,1719 @@ + +Licensed to the Apache Software Foundation (ASF) under one or more

Re: [PR] Revamp the `Layouts` page (logging-log4j2)

2024-06-10 Thread via GitHub
vy commented on code in PR #2645: URL: https://github.com/apache/logging-log4j2/pull/2645#discussion_r1633707216 ## src/site/antora/modules/ROOT/pages/manual/pattern-layout.adoc: ## @@ -0,0 +1,1719 @@ + +Licensed to the Apache Software Foundation (ASF) under one or more

Re: [PR] Revamp the `Layouts` page (logging-log4j2)

2024-06-10 Thread via GitHub
vy commented on code in PR #2645: URL: https://github.com/apache/logging-log4j2/pull/2645#discussion_r1633738384 ## src/site/antora/modules/ROOT/pages/manual/json-template-layout.adoc: ## @@ -1983,10 +2046,10 @@ To get the most out of it, mind the following checklist: [#faq-loo

Re: [PR] Revamp the `Layouts` page (logging-log4j2)

2024-06-10 Thread via GitHub
vy commented on code in PR #2645: URL: https://github.com/apache/logging-log4j2/pull/2645#discussion_r1633739365 ## src/site/antora/modules/ROOT/pages/manual/json-template-layout.adoc: ## @@ -16,422 +16,479 @@ = JSON Template Layout -`JsonTemplateLayout` is a customizab

Re: [PR] Revamp the `Layouts` page (logging-log4j2)

2024-06-10 Thread via GitHub
vy commented on code in PR #2645: URL: https://github.com/apache/logging-log4j2/pull/2645#discussion_r1633740014 ## src/site/antora/modules/ROOT/pages/manual/json-template-layout.adoc: ## @@ -16,422 +16,479 @@ = JSON Template Layout -`JsonTemplateLayout` is a customizab

Re: [PR] Revamp the `Layouts` page (logging-log4j2)

2024-06-10 Thread via GitHub
vy commented on PR #2645: URL: https://github.com/apache/logging-log4j2/pull/2645#issuecomment-2159201471 > We could also include a link to the plugin reference, whenever we deal with a plugin, so that users can find the errors in the documentation themselves. @ppkarwasz, added in 0c

Re: [I] OutOfMemoryException because WatchManager isn't garbage collected (logging-log4j2)

2024-06-10 Thread via GitHub
rgoers commented on issue #2640: URL: https://github.com/apache/logging-log4j2/issues/2640#issuecomment-2159218799 We would need to see the logic you use to "close" the file at the end of the step. For your example it is also unclear what will happen if you have multiple instances of the

Re: [PR] Create a `Migrating from Log4j 1 to Log4j 2` guide (logging-log4j2)

2024-06-10 Thread via GitHub
vy commented on code in PR #2649: URL: https://github.com/apache/logging-log4j2/pull/2649#discussion_r1633793065 ## src/site/antora/modules/ROOT/partials/manual/systemproperties/properties-log4j-12-api.adoc: ## @@ -0,0 +1,55 @@ + +Licensed to the Apache Software Foundati

Re: [PR] Revamp the `Layouts` page (logging-log4j2)

2024-06-11 Thread via GitHub
ppkarwasz commented on code in PR #2645: URL: https://github.com/apache/logging-log4j2/pull/2645#discussion_r1634876354 ## src/site/antora/modules/ROOT/pages/manual/pattern-layout.adoc: ## @@ -0,0 +1,1719 @@ + +Licensed to the Apache Software Foundation (ASF) under one o

Re: [PR] Revamp the `Layouts` page (logging-log4j2)

2024-06-11 Thread via GitHub
ppkarwasz commented on code in PR #2645: URL: https://github.com/apache/logging-log4j2/pull/2645#discussion_r1634879820 ## src/site/antora/modules/ROOT/pages/manual/pattern-layout.adoc: ## @@ -0,0 +1,1719 @@ + +Licensed to the Apache Software Foundation (ASF) under one o

Re: [PR] Revamp the `Layouts` page (logging-log4j2)

2024-06-11 Thread via GitHub
ppkarwasz commented on code in PR #2645: URL: https://github.com/apache/logging-log4j2/pull/2645#discussion_r1634880198 ## src/site/antora/modules/ROOT/pages/manual/pattern-layout.adoc: ## @@ -0,0 +1,1719 @@ + +Licensed to the Apache Software Foundation (ASF) under one o

Re: [PR] Revamp the `Layouts` page (logging-log4j2)

2024-06-11 Thread via GitHub
vy merged PR #2645: URL: https://github.com/apache/logging-log4j2/pull/2645 -- 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-unsubscr...@lo

Re: [I] Revamp the `Layouts` page (logging-log4j2)

2024-06-11 Thread via GitHub
vy closed issue #2527: Revamp the `Layouts` page URL: https://github.com/apache/logging-log4j2/issues/2527 -- 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-mai

Re: [PR] Bump org.eclipse.platform:org.eclipse.osgi from 3.19.0 to 3.20.0 (logging-log4j2)

2024-06-11 Thread via GitHub
ppkarwasz commented on PR #2650: URL: https://github.com/apache/logging-log4j2/pull/2650#issuecomment-2161399537 @dependabot rebase -- 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 co

Re: [PR] Bump io.netty:netty-bom from 4.1.110.Final to 4.1.111.Final (logging-log4j2)

2024-06-12 Thread via GitHub
github-actions[bot] merged PR #2653: URL: https://github.com/apache/logging-log4j2/pull/2653 -- 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

Re: [PR] Bump mongodb.version from 5.1.0 to 5.1.1 (logging-log4j2)

2024-06-12 Thread via GitHub
github-actions[bot] merged PR #2651: URL: https://github.com/apache/logging-log4j2/pull/2651 -- 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

Re: [PR] Create a `Migrating from Log4j 1 to Log4j 2` guide (logging-log4j2)

2024-06-12 Thread via GitHub
ppkarwasz commented on code in PR #2649: URL: https://github.com/apache/logging-log4j2/pull/2649#discussion_r1636959766 ## src/site/antora/modules/ROOT/examples/manual/migration/Migration1Example.java: ## @@ -0,0 +1,33 @@ +/* + * Licensed to the Apache Software Foundation (ASF)

Re: [PR] Create a `Migrating from Log4j 1 to Log4j 2` guide (logging-log4j2)

2024-06-12 Thread via GitHub
ppkarwasz commented on code in PR #2649: URL: https://github.com/apache/logging-log4j2/pull/2649#discussion_r1636960195 ## src/site/antora/modules/ROOT/pages/manual/migration.adoc: ## @@ -16,433 +16,573 @@ Licensed to the Apache Software Foundation (ASF) under one or more

Re: [PR] Create a `Migrating from Log4j 1 to Log4j 2` guide (logging-log4j2)

2024-06-12 Thread via GitHub
ppkarwasz merged PR #2649: URL: https://github.com/apache/logging-log4j2/pull/2649 -- 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-unsubsc

Re: [I] Create a `Migrating from Log4j 1 to Log4j 2` guide (logging-log4j2)

2024-06-12 Thread via GitHub
ppkarwasz closed issue #2519: Create a `Migrating from Log4j 1 to Log4j 2` guide URL: https://github.com/apache/logging-log4j2/issues/2519 -- 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

Re: [I] When obtaining the LogContext through LogManager.getContext(getClass().getClassLoader(), false, uri), the shutdownHook in the XML configuration does not take effect. (logging-log4j2)

2024-06-12 Thread via GitHub
ppkarwasz commented on issue #2614: URL: https://github.com/apache/logging-log4j2/issues/2614#issuecomment-2163747001 @Pluto-syd, Thank you for the report. This is certainly an inconsistency/bug. Might I ask you: why do you use the 3-parameter `LogManager.getContext()` method

Re: [I] When obtaining the LogContext through LogManager.getContext(getClass().getClassLoader(), false, uri), the shutdownHook in the XML configuration does not take effect. (logging-log4j2)

2024-06-12 Thread via GitHub
Pluto-syd commented on issue #2614: URL: https://github.com/apache/logging-log4j2/issues/2614#issuecomment-2164262075 > @Pluto-syd, > > 感谢您的报告。这肯定是一个不一致/错误。 > > 我可以问你一下:为什么你使用 3 参数`LogManager.getContext()`方法而不是更受支持的方法[`Configurator.reconfigure`](https://logging.apache.org/log4

[I] ProviderUtil.lazyInit hangs indefinitely (logging-log4j2)

2024-06-12 Thread via GitHub
hd42 opened a new issue, #2655: URL: https://github.com/apache/logging-log4j2/issues/2655 ## Description I am using an Eclipse plugin that uses Apache POI, which in turn uses Log4j. It runs fine in most configurations, but in some constellations I haven't been able to conclusively pi

Re: [I] ProviderUtil.lazyInit hangs indefinitely (logging-log4j2)

2024-06-13 Thread via GitHub
vy commented on issue #2655: URL: https://github.com/apache/logging-log4j2/issues/2655#issuecomment-2164769945 @hd42, this sounds like a deadlock to me. That is, `ProviderUtil` is trying to acquire the initialization lock that is already acquired. We can improve the diagnostics by reportin

Re: [I] ProviderUtil.lazyInit hangs indefinitely (logging-log4j2)

2024-06-13 Thread via GitHub
hd42 commented on issue #2655: URL: https://github.com/apache/logging-log4j2/issues/2655#issuecomment-2164920254 [threaddump2.txt](https://github.com/user-attachments/files/15815945/threaddump2.txt) Yes, that's what I figured. I'll try to attach a debugger and see when the initializatio

Re: [I] ProviderUtil.lazyInit hangs indefinitely (logging-log4j2)

2024-06-13 Thread via GitHub
ppkarwasz commented on issue #2655: URL: https://github.com/apache/logging-log4j2/issues/2655#issuecomment-2165020842 @hd42, What kind of application are you developing? It seems you are writing an RCP or an OSGi application? If so, what kind and version of OSGi framework you are

Re: [I] ProviderUtil.lazyInit hangs indefinitely (logging-log4j2)

2024-06-13 Thread via GitHub
hd42 commented on issue #2655: URL: https://github.com/apache/logging-log4j2/issues/2655#issuecomment-2165119846 Yes, I am developing an Eclipse Plugin, so the OSGi framework is the one bundled with Eclipse 2024-03. -- This is an automated message from the Apache Git Service. To respond

Re: [I] ProviderUtil.lazyInit hangs indefinitely (logging-log4j2)

2024-06-13 Thread via GitHub
hd42 commented on issue #2655: URL: https://github.com/apache/logging-log4j2/issues/2655#issuecomment-2165262893 As far as I can see, org.apache.logging.log4j.util.Activator#unlockIfReady() is called a lot but never enters the if block because ProviderUtil.PROVIDERS remains empty. -- Th

Re: [PR] Bump github/codeql-action from 3.25.8 to 3.25.9 [logging-parent]

2024-06-13 Thread via GitHub
github-actions[bot] merged PR #191: URL: https://github.com/apache/logging-parent/pull/191 -- 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

[PR] Split "Configuration" page (`2.x` branch) (logging-log4j2)

2024-06-13 Thread via GitHub
ppkarwasz opened a new pull request, #2658: URL: https://github.com/apache/logging-log4j2/pull/2658 This splits the configuration page into: - a short intro to the "Configuration" chapter, - a page dedicated entirely to the "Configuration file". -- This is an automated me

Re: [PR] Bump spring-framework.version from 5.3.36 to 5.3.37 (logging-log4j2)

2024-06-13 Thread via GitHub
github-actions[bot] merged PR #2656: URL: https://github.com/apache/logging-log4j2/pull/2656 -- 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

Re: [PR] Bump co.elastic.clients:elasticsearch-java from 8.14.0 to 8.14.1 (logging-log4j2)

2024-06-13 Thread via GitHub
github-actions[bot] merged PR #2657: URL: https://github.com/apache/logging-log4j2/pull/2657 -- 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

Re: [I] ProviderUtil.lazyInit hangs indefinitely (logging-log4j2)

2024-06-13 Thread via GitHub
ppkarwasz commented on issue #2655: URL: https://github.com/apache/logging-log4j2/issues/2655#issuecomment-2165330248 This seems related to the order of activation of the OSGi bundles: the `LogManager` class initialization will block until the `log4j-core` bundle is started. Log4j does not

Re: [I] ProviderUtil.lazyInit hangs indefinitely (logging-log4j2)

2024-06-13 Thread via GitHub
hd42 commented on issue #2655: URL: https://github.com/apache/logging-log4j2/issues/2655#issuecomment-2165370953 I see Activator#start gets called but doesn't find any bundle that contains a provider. I don't see log4j-core installed in the plugins. log4j seems to block itself from worki

Re: [I] ProviderUtil.lazyInit hangs indefinitely (logging-log4j2)

2024-06-13 Thread via GitHub
ppkarwasz commented on issue #2655: URL: https://github.com/apache/logging-log4j2/issues/2655#issuecomment-2165386233 `log4j-core`, `log4j-to-slf4j` and `log4j-to-jul` are Log4j API providers. There is a simple provider embedded in `log4j-api`, but typically that is not what you want

Re: [I] ProviderUtil.lazyInit hangs indefinitely (logging-log4j2)

2024-06-13 Thread via GitHub
hd42 commented on issue #2655: URL: https://github.com/apache/logging-log4j2/issues/2655#issuecomment-2165408230 I debugged a working installation and was surprised to see that it didn't ever call Activator#start. The first call was to ProviderUtil#lazyInit(), which unlocks even with empty

[PR] Bump org.springframework:spring-framework-bom from 5.3.36 to 5.3.37 [logging-log4j-audit-sample]

2024-06-13 Thread via GitHub
dependabot[bot] opened a new pull request, #50: URL: https://github.com/apache/logging-log4j-audit-sample/pull/50 Bumps [org.springframework:spring-framework-bom](https://github.com/spring-projects/spring-framework) from 5.3.36 to 5.3.37. Release notes Sourced from https://github.

Re: [PR] Bump org.springframework:spring-framework-bom from 5.3.36 to 5.3.37 [logging-log4j-audit-sample]

2024-06-13 Thread via GitHub
github-actions[bot] merged PR #50: URL: https://github.com/apache/logging-log4j-audit-sample/pull/50 -- 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: not

Re: [PR] Bump org.springframework:spring-framework-bom from 5.3.36 to 5.3.37 [logging-log4j-audit-sample]

2024-06-13 Thread via GitHub
github-actions[bot] merged PR #50: URL: https://github.com/apache/logging-log4j-audit-sample/pull/50 -- 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: not

Re: [PR] Bump actions/checkout from 4.1.6 to 4.1.7 [logging-parent]

2024-06-13 Thread via GitHub
github-actions[bot] merged PR #192: URL: https://github.com/apache/logging-parent/pull/192 -- 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

Re: [PR] Bump org.eclipse.jgit:org.eclipse.jgit from 6.9.0.202403050737-r to 6.10.0.202406032230-r [logging-parent]

2024-06-13 Thread via GitHub
github-actions[bot] closed pull request #190: Bump org.eclipse.jgit:org.eclipse.jgit from 6.9.0.202403050737-r to 6.10.0.202406032230-r URL: https://github.com/apache/logging-parent/pull/190 -- This is an automated message from the Apache Git Service. To respond to the message, please log on

[PR] Split "Configuration" page (`main` branch) (logging-log4j2)

2024-06-13 Thread via GitHub
ppkarwasz opened a new pull request, #2659: URL: https://github.com/apache/logging-log4j2/pull/2659 This splits the configuration page into: - a short intro to the "Configuration" chapter, - a page dedicated entirely to the "Configuration file". This is the `main` branch vers

Re: [PR] Split "Configuration" page (`2.x` branch) (logging-log4j2)

2024-06-13 Thread via GitHub
ppkarwasz commented on PR #2658: URL: https://github.com/apache/logging-log4j2/pull/2658#issuecomment-2165288746 Part of #2541 -- 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 commen

Re: [PR] Split "Configuration" page (`main` branch) (logging-log4j2)

2024-06-13 Thread via GitHub
ppkarwasz commented on PR #2659: URL: https://github.com/apache/logging-log4j2/pull/2659#issuecomment-2165289271 Part of #2541 -- 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 commen

[PR] Add Logback example to "Markers" page (logging-log4j2)

2024-06-13 Thread via GitHub
ppkarwasz opened a new pull request, #2660: URL: https://github.com/apache/logging-log4j2/pull/2660 Since the Log4j API is independent from the Log4j implementation, the "API" chapter of the documentation should contain configuration examples for all major backends that support a certain AP

[I] The `append` option in file appender doesn't work properly (logging-log4j2)

2024-06-13 Thread via GitHub
taylorThunderbolt opened a new issue, #2661: URL: https://github.com/apache/logging-log4j2/issues/2661 ## Description Use new FileAppender(the `append` option is set to false, the 'fileName' option is equivalent to previous FileAppender) to log rest messages after logging some messag

Re: [I] ProviderUtil.lazyInit hangs indefinitely (logging-log4j2)

2024-06-13 Thread via GitHub
hd42 commented on issue #2655: URL: https://github.com/apache/logging-log4j2/issues/2655#issuecomment-2165775612 Adding log4j-to-slf4j has fixed my problem as far as I can see. Thank you for your help. An indefinite wait still seems problematic to me, so maybe you should throw an "N

Re: [PR] ⬆️ Bump braces, gulp and zarro (logging-log4net)

2024-06-13 Thread via GitHub
FreeAndNil merged PR #150: URL: https://github.com/apache/logging-log4net/pull/150 -- 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-unsubsc

Re: [PR] Create "Migrate from Log4j 2" page (logging-log4j2)

2024-06-13 Thread via GitHub
ppkarwasz merged PR #2654: URL: https://github.com/apache/logging-log4j2/pull/2654 -- 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-unsubsc

Re: [I] [MS16] Documentation revamp 3/5 (logging-log4j2)

2024-06-13 Thread via GitHub
grobmeier closed issue #2540: [MS16] Documentation revamp 3/5 URL: https://github.com/apache/logging-log4j2/issues/2540 -- 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 unsub

Re: [I] [MS16] Documentation revamp 3/5 (logging-log4j2)

2024-06-13 Thread via GitHub
grobmeier commented on issue #2540: URL: https://github.com/apache/logging-log4j2/issues/2540#issuecomment-2166779765 completed -- 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 comme

Re: [PR] Bump org.springframework:spring-framework-bom from 6.1.8 to 6.1.9 [logging-log4j-jakarta]

2024-06-13 Thread via GitHub
github-actions[bot] merged PR #34: URL: https://github.com/apache/logging-log4j-jakarta/pull/34 -- 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: notifica

Re: [I] The `append` option in file appender doesn't work properly (logging-log4j2)

2024-06-13 Thread via GitHub
rgoers commented on issue #2661: URL: https://github.com/apache/logging-log4j2/issues/2661#issuecomment-2166934448 Note that using append="false" on a FileAppender where the same file is already open on another FileAppender would likely cause serious problems on Windows if each FileAppende

Re: [PR] Bump org.springframework:spring-framework-bom from 5.3.35 to 5.3.37 [logging-log4j-samples]

2024-06-13 Thread via GitHub
github-actions[bot] closed pull request #149: Bump org.springframework:spring-framework-bom from 5.3.35 to 5.3.37 URL: https://github.com/apache/logging-log4j-samples/pull/149 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and u

Re: [I] ProviderUtil.lazyInit hangs indefinitely (logging-log4j2)

2024-06-13 Thread via GitHub
hd42 commented on issue #2655: URL: https://github.com/apache/logging-log4j2/issues/2655#issuecomment-2167250756 Adding log4j-to-slf4j has fixed my problem as far as I can see. Thank you for your help. An indefinite wait still seems problematic to me, so maybe you should throw an "N

Re: [PR] Create "Migrate from Log4j 2" page (logging-log4j2)

2024-06-14 Thread via GitHub
vy commented on code in PR #2654: URL: https://github.com/apache/logging-log4j2/pull/2654#discussion_r1639410871 ## src/site/antora/modules/ROOT/pages/manual/migration.adoc: ## @@ -16,5 +16,247 @@ Licensed to the Apache Software Foundation (ASF) under one or more = Mig

[PR] Fix `flowtracing.adoc` examples (logging-log4j2)

2024-06-14 Thread via GitHub
vy opened a new pull request, #2662: URL: https://github.com/apache/logging-log4j2/pull/2662 (no comment) -- 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-

Re: [PR] Add Logback example to "Markers" page (logging-log4j2)

2024-06-14 Thread via GitHub
vy commented on code in PR #2660: URL: https://github.com/apache/logging-log4j2/pull/2660#discussion_r1639471208 ## src/site/antora/modules/ROOT/examples/manual/markers/log4j2.xml: ## @@ -25,16 +25,14 @@ + >, you'll see the following log statement on your con

Re: [PR] Bump github/codeql-action from 3.25.9 to 3.25.10 [logging-parent]

2024-06-14 Thread via GitHub
github-actions[bot] merged PR #193: URL: https://github.com/apache/logging-parent/pull/193 -- 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

Re: [PR] Bump org.elasticsearch.client:elasticsearch-rest-high-level-client from 7.17.21 to 7.17.22 (logging-log4j2)

2024-06-14 Thread via GitHub
github-actions[bot] merged PR #2663: URL: https://github.com/apache/logging-log4j2/pull/2663 -- 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

Re: [PR] Bump spring-framework.version from 6.1.8 to 6.1.9 (logging-log4j2)

2024-06-14 Thread via GitHub
github-actions[bot] merged PR #2664: URL: https://github.com/apache/logging-log4j2/pull/2664 -- 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

Re: [I] The `append` option in file appender doesn't work properly (logging-log4j2)

2024-06-14 Thread via GitHub
taylorThunderbolt commented on issue #2661: URL: https://github.com/apache/logging-log4j2/issues/2661#issuecomment-2168115153 @ppkarwasz @rgoers got you guys point, thanks a lot ^_^ -- This is an automated message from the Apache Git Service. To respond to the message, please log on t

[PR] Improve documentation on structured logging (logging-log4j2)

2024-06-14 Thread via GitHub
vy opened a new pull request, #2665: URL: https://github.com/apache/logging-log4j2/pull/2665 (no comment) -- 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-

[I] Log4j2 TemplateLayout will support Property Substitution or Lookups? (logging-log4j2)

2024-06-14 Thread via GitHub
ngocnhan-tran1996 opened a new issue, #2666: URL: https://github.com/apache/logging-log4j2/issues/2666 I have an application use log4j2 template layout with below config File `EcsLayout.json` ```json { "message1": { "$resolver": "pattern", "pattern": "${env:TZ:

[PR] Update XmlLayoutSchemaLog4j.cs to set writer.Namespaces = true for NETSTANDARD (logging-log4net)

2024-06-14 Thread via GitHub
MarcWeintraub opened a new pull request, #151: URL: https://github.com/apache/logging-log4net/pull/151 Formatting is off when using .NET 6+ when outing in Log2Console. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use th

Re: [PR] Improve documentation on structured logging (logging-log4j2)

2024-06-14 Thread via GitHub
ppkarwasz commented on code in PR #2665: URL: https://github.com/apache/logging-log4j2/pull/2665#discussion_r1640008495 ## src/changelog/.2.x.x/deprecate_EventLogger.xml: ## @@ -0,0 +1,7 @@ + +http://www.w3.org/2001/XMLSchema-instance"; + xmlns="https://logging.apache.org/

Re: [PR] Fix `flowtracing.adoc` examples (logging-log4j2)

2024-06-14 Thread via GitHub
ppkarwasz commented on code in PR #2662: URL: https://github.com/apache/logging-log4j2/pull/2662#discussion_r1640060322 ## src/site/antora/modules/ROOT/pages/manual/flowtracing.adoc: ## @@ -14,109 +14,94 @@ See the License for the specific language governing permissions and

Re: [PR] Add Logback example to "Markers" page (logging-log4j2)

2024-06-14 Thread via GitHub
ppkarwasz commented on code in PR #2660: URL: https://github.com/apache/logging-log4j2/pull/2660#discussion_r1640114681 ## src/site/antora/modules/ROOT/pages/manual/markers.adoc: ## @@ -61,88 +61,110 @@ include::example$manual/markers/marker-filtering.log[tag=use-marker] A mar

Re: [PR] Add Logback example to "Markers" page (logging-log4j2)

2024-06-14 Thread via GitHub
ppkarwasz commented on code in PR #2660: URL: https://github.com/apache/logging-log4j2/pull/2660#discussion_r1640116313 ## src/site/antora/modules/ROOT/examples/manual/markers/log4j2.xml: ## @@ -25,16 +25,14 @@ +

Re: [PR] Split "Configuration" page (`2.x` branch) (logging-log4j2)

2024-06-14 Thread via GitHub
ppkarwasz merged PR #2658: URL: https://github.com/apache/logging-log4j2/pull/2658 -- 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-unsubsc

Re: [PR] Create "Migrate from Log4j 2" page (logging-log4j2)

2024-06-14 Thread via GitHub
ppkarwasz commented on code in PR #2654: URL: https://github.com/apache/logging-log4j2/pull/2654#discussion_r1640136244 ## src/site/antora/modules/ROOT/pages/manual/migration.adoc: ## @@ -16,5 +16,247 @@ Licensed to the Apache Software Foundation (ASF) under one or more

Re: [PR] Create "Migrate from Log4j 2" page (logging-log4j2)

2024-06-14 Thread via GitHub
ppkarwasz commented on code in PR #2654: URL: https://github.com/apache/logging-log4j2/pull/2654#discussion_r1640135454 ## src/site/antora/modules/ROOT/pages/manual/migration.adoc: ## @@ -16,5 +16,247 @@ Licensed to the Apache Software Foundation (ASF) under one or more

Re: [PR] Create "Migrate from Log4j 2" page (logging-log4j2)

2024-06-14 Thread via GitHub
ppkarwasz commented on code in PR #2654: URL: https://github.com/apache/logging-log4j2/pull/2654#discussion_r1640135951 ## src/site/antora/modules/ROOT/pages/manual/migration.adoc: ## @@ -16,5 +16,247 @@ Licensed to the Apache Software Foundation (ASF) under one or more

Re: [PR] Create "Migrate from Log4j 2" page (logging-log4j2)

2024-06-14 Thread via GitHub
ppkarwasz commented on code in PR #2654: URL: https://github.com/apache/logging-log4j2/pull/2654#discussion_r1640136895 ## src/site/antora/modules/ROOT/pages/manual/migration.adoc: ## @@ -16,5 +16,247 @@ Licensed to the Apache Software Foundation (ASF) under one or more

<    13   14   15   16   17   18   19   20   21   22   >