ppkarwasz commented on issue #3779:
URL: 
https://github.com/apache/logging-log4j2/issues/3779#issuecomment-3284705211

   Hi @snicoll,
   
   Actually I noticed that @vy has already prepared a release build for 
**2.25.2**:
   
   | | |
   | --- | --- |
   | Maven staging repository | 
`https://repository.apache.org/content/repositories/orgapachelogging-1321` |
   | Staging website | [Release notes 
(preliminary)](https://logging.staged.apache.org/log4j/2.25.2/release-notes.html)
 |
   | Build job | [GitHub Actions 
#17592749335](https://github.com/apache/logging-log4j2/actions/runs/17592749335)
 |
   
   The ASF staging repo enforces DoS protection that bans IPs making too many 
404 requests. To avoid surprises, it’s best to restrict Gradle (or Maven) so 
this repo is only used for `org.apache.logging` artifacts:
   
   ```groovy
   repositories {
       maven {
           name = 'Log4j Staging Repository'
           url = 
'https://repository.apache.org/content/repositories/orgapachelogging-1321'
           mavenContent {
               // Only resolve Apache Logging artifacts here
               includeGroupAndSubgroups('org.apache.logging')
               releasesOnly()
           }
       }
       // other repos...
   }
   ```
   
   > [!IMPORTANT]
   > - This is **not** an official Release Candidate yet and no vote has been 
called on `[email protected]`.
   > - RC1 may still accept one or two bug fixes (at Volkan’s discretion).
   
   If #3920 makes it into RC1, Spring Boot’s custom converters could be 
simplified to something like:
   
   ```java
   @Plugin(name = "WhitespaceThrowablePatternConverter", category = 
PatternConverter.CATEGORY)
   @ConverterKeys({"wEx", "wThrowable", "wException"})
   public final class WhitespaceThrowablePatternConverter {
   
       private WhitespaceThrowablePatternConverter() {
           // no instances
       }
   
       public static LogEventPatternConverter newInstance(
               Configuration configuration, String[] options) {
           final String nested =
               (options != null && options.length > 0) ? "{" + 
String.join("}{", options) + "}" : "";
           final String pattern = "%notEmpty{%n%ex" + nested + "%n}";
           return 
VariablesNotEmptyReplacementConverter.newInstance(configuration, new 
String[]{pattern});
       }
   }
   ```
   


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

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to