Using CI to create & sign distrib. ZIP and upload to Nexus & SVN

2023-07-25 Thread Volkan Yazıcı
*[Apologies for the cross-post in BCC. I find this development important for all Java-based ASF projects. Hence, my push to reach a wider audience.]* In my crusade to automate whatever [practically] possible in the release process of a Java-based ASF project, I have cracked a new puzzler: uploadin

[log4j] Multiple applications using GetLogger with same name

2023-07-25 Thread Danish Arif
Hi Log4j2 Team, My query is related to log4j2 working and uses of LogManager.getLogger(String name); method. My use case is that my application uses the above mentioned method to get logger and log. Appender and Logger have been set in log4j2.xml file. We stop the Logger by getting all core appen

Re: [log4j] Multiple applications using GetLogger with same name

2023-07-25 Thread Ralph Goers
Your issue is related to you starting and stopping the LoggerContext while your application is in an unknown state. I can think of a few ways to deal with this. 1. Never shutdown the LoggerContext and only use RoutingAppenders. Each application should set its own key for the Route so that each

[log4j] `Constants` is missing `ENABLE_THREADLOCALS` and many more in `main`

2023-07-25 Thread Volkan Yazıcı
In `main`, `LegacyPluginTest` fails (after bumping `log4j2-logstash-layout.version` to `1.0.5` ) due to missing `ENABLE_THREADLOCALS` static field in `org.apache.logging.log4j.core.util.Constants`. 287ee839 is responsible for this change and there