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] 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] 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 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] [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: [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: [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: [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: [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

[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

[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

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

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

[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] 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

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.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

[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: [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

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-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-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: [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: [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

[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 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

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: [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
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-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
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