Re: [VOTE] Release Apache Log4j 3.0.0-alpha1-rc1

2023-06-17 Thread Ralph Goers
Yes, I started on the fix for what you reported and ran into this. I had to 
introduce a dependency for the plugin annotation processor to log4j core to 
ensure it was created prior to log4j-core being built. That causes a dependency 
to be added to the processor in OSGi, but that isn’t an OSGi module. I think I 
have figured out how to fix it and will get to it soon.

Ralph

> On Jun 16, 2023, at 9:45 PM, Piotr P. Karwasz  wrote:
> 
> Hi Ralph,
> 
> On Fri, 16 Jun 2023 at 22:37, Ralph Goers  wrote:
>> 
>> Any chance you can commit a fix?
> 
> Sure, I'll commit a fix. For some (other?) reason the tests in
> `log4j-osgi` are failing on the CI. Not sure what is the problem.
> 
> Piotr



Re: [VOTE] Release Apache Log4j 3.0.0-alpha1-rc1

2023-06-17 Thread Ralph Goers
I have fixed the OSGi problem and made the changes you recommended. Please make 
sure all the OSGi stuff is correct now.  I believe there are still problems 
with the release notes and I will be addressing those.

Ralph

> On Jun 17, 2023, at 10:11 AM, Ralph Goers  wrote:
> 
> Yes, I started on the fix for what you reported and ran into this. I had to 
> introduce a dependency for the plugin annotation processor to log4j core to 
> ensure it was created prior to log4j-core being built. That causes a 
> dependency to be added to the processor in OSGi, but that isn’t an OSGi 
> module. I think I have figured out how to fix it and will get to it soon.
> 
> Ralph
> 
>> On Jun 16, 2023, at 9:45 PM, Piotr P. Karwasz  
>> wrote:
>> 
>> Hi Ralph,
>> 
>> On Fri, 16 Jun 2023 at 22:37, Ralph Goers  wrote:
>>> 
>>> Any chance you can commit a fix?
>> 
>> Sure, I'll commit a fix. For some (other?) reason the tests in
>> `log4j-osgi` are failing on the CI. Not sure what is the problem.
>> 
>> Piotr
> 



[VOTE] Release Apache Log4j 3.0.0-alpha1-rc2

2023-06-17 Thread Ralph Goers
This is a vote to release Log4j 3.0.0-alpha, the first release the Log4j 3.x 
series.

Please download, test, and cast your votes on the log4j developers list.
[] +1, release the artifacts
[] -1, don't release because...

The vote will remain open for 72 hours. All votes are welcome and we encourage 
everyone to test the release, but only Logging PMC votes are “officially” 
counted. As always, at least 3 +1 votes and more positive than negative votes 
are required.

Changes in this version include:

Added
• Allow plugins to be created through more flexible dependency injection 
patterns. (for LOG4J2-1188 by Matt Sicker)
• Allow to force LOG4J2 to use TCCL only. (for LOG4J2-2171 by rmannibucau, 
Ralph Goers)
• Allow web lookup to access more information. (for LOG4J2-2523 by Romain 
Manni-Bucau, Ralph Goers)
• Allow web lookup of session attributes. (for LOG4J2-2688 by Ralph Goers, 
Romain Manni-Bucau)
• Add support for injecting plugin configuration via builder methods. (for 
LOG4J2-2700 by Matt Sicker)
• Add scopes API for customizing plugin instance lifecycle. (for 
LOG4J2-2852 by Matt Sicker)
• Add qualifier annotations for distinguishing instances of the same type. 
(for LOG4J2-2853 by Matt Sicker)
• Create standardized dependency injection API. This is supported in 
several plugin categories and other configurable instances previously defined 
via system properties. (for LOG4J2-2854 by Matt Sicker)
• Add conditional annotations to support more declarative binding factory 
bundle classes. (for LOG4J2-3300 by Matt Sicker)
• Add built-in JSON configuration parser for a useful structured 
configuration file format which only requires the java.base module. (for 
LOG4J2-3415 by Matt Sicker)
• Add @Ordered annotation to support plugin ordering when two or more 
plugins within the same category have the same case-insensitive name. (for 
LOG4J2-857 by Matt Sicker)

Changed
• Simplify Maven site phase and align it with the one in 2.x branch. (for 
1220 by Volkan Yazıcı)
• Update build to use Java 11 bytecode. (for 480 by Ralph Goers)
• Convert documentation into AsciiDoc format. (for LOG4J2-1802 by Matt 
Sicker)
• Rename package core.util.datetime to core.time.internal.format to clarify 
these classes are to be considered private. (for LOG4J2-2224 by Remko Popma)
• Move time-related classes from core.util to core.time. Classes considered 
private moved to core.time.internal. (for LOG4J2-2225 by Remko Popma)
• Split off Kafka support into a new module log4j-kafka. (for LOG4J2-2227 
by Gary Gregory)
• Split off ZeroMq/JeroMq support into a new module log4j-jeromq. (for 
LOG4J2-2228 by Gary Gregory)
• Split off SMTP support into a new module log4j-smtp. (for LOG4J2-2230 by 
Gary Gregory)
• Split off CSV layout into a new module log4j-csv. (for LOG4J2-2231 by 
Gary Gregory)
• Split off JMS support into a new module log4j-jms. (for LOG4J2-2232 by 
Gary Gregory)
• Split off JDBC support into a new module log4j-jdbc. (for LOG4J2-2233 by 
Gary Gregory)
• Split off Jackson-based layouts into their own modules: 
log4j-layout-jackson-json, log4j-layout-jackson-xml and 
log4j-layout-jackson-yaml. (for LOG4J2-2237 by Gary Gregory)
• Update builder methods from the "with" prefix to the "set" prefix. (for 
LOG4J2-2492 by Gary Gregory)
• Remove deprecated code. (for LOG4J2-2493 by Gary Gregory)
• Fix typo in method MergeStrategy.mergeConfigurations. (for LOG4J2-2617 by 
Matt Sicker)
• Separate plugin support to its own module. Plugin annotation processor 
will now generate a Java source file compatible with java.util.ServiceLoader 
instead of a binary file. (for LOG4J2-2621 by Ralph Goers)
• Rename PluginVisitor and related classes to 
ConfigurationInjectionBuilder. (for LOG4J2-2683 by Matt Sicker)
• Locate plugins in modules. (for LOG4J2-2690 by Ralph Goers)
• Split off JNDI support into a new module log4j-jndi. (for LOG4J2-3242 by 
Ralph Goers)
• Split off scripting support into a new module log4j-script. (for 
LOG4J2-3307 by Ralph Goers)
• Defer loading of StrLookup plugin classes until first usage. (for 
LOG4J2-3441 by Matt Sicker)
• Flatten the ThreadContextMap interfaces with default methods. (for 
LOG4J2-3626 by Matt Sicker)
• Allow Log4j properties to be provided in JSON files. (for LOG4J2-3658 by 
Ralph Goers)
• Unify plugin builders and plugin factories. (for LOG4J2-860 by Matt 
Sicker)
• Update Conversant Disruptor from 1.12.15 to 1.12.21. The new version 
requires Java 11. (for LOG4J2-2079 by Ralph Goers, Volkan Yazıcı)

Removed
• Remove support for java.io.Serializable in several classes including 
Message, Layout, LogEvent, Logger, and ReadOnlyStringMap. (for LOG4J2-3228 by 
Matt Sicker)

Fixed
• EnvironmentLookup may throw NPE. (for LOG4J2-2244 by Gary Gregory)
• Move ProcessIdUtil from log4j-api to log4j-core. (for LOG4J2-2279 by Gary 
Gregory, Remko Popma)