rgoers commented on issue #2026:
URL: 
https://github.com/apache/logging-log4j2/issues/2026#issuecomment-2088697134

   In 3.x the annotation processor does not run automatically. Any project that 
has log4j plugins needs to add it. In 3.x it has moved to its own module, 
log4j-plugin-processor. It would look something like the below:
   
   ```
            <plugin>
   
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-compiler-plugin</artifactId>
   
               <configuration>
                 <annotationProcessorPaths combine.children="append">
                   <!-- 
`org.apache.logging.log4j.plugin.processor.PluginProcessor` invocation: -->
                   <path>
                     <groupId>org.apache.logging.log4j</groupId>
                     <artifactId>log4j-plugin-processor</artifactId>
                     <version>${log4j.version}</version>
                   </path>
                 </annotationProcessorPaths>
               </configuration>
   
             </plugin>
   ```


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