Re: Configuration format for Log4j Core 2.x

2024-10-31 Thread Piotr P. Karwasz
Hi Viktor, On 31.10.2024 10:19, Viktor Somogyi-Vass wrote: I could see a transition for Kafka configs too to YAML. It's widely used in other projects as well and for Kafka too it would make sense to group them for instance by log, storage, networking, security etc.. It definitely has an advantag

Re: Configuration format for Log4j Core 2.x

2024-10-29 Thread Piotr P. Karwasz
Hi David, On 29.10.2024 16:30, David Arthur wrote: 2. How do we determine which type of config file has been given? Do we try to infer it based on file extension? What is the behavior if both old and new files exist? I believe that the current PR[1] shows the correct behavior. Upgraded system

Configuration format for Log4j Core 2.x

2024-10-29 Thread Piotr P. Karwasz
Hi, In the context of the current migration process from Log4j 1.x/Reload4j to Log4j Core 2.x[1], I believe that the choice of configuration format used by the Kafka binary distribution, should receive a particular attention. Log4j Core 2.x supports four native configuration formats (XML, JS

Kafka Appender for Log4j Core 2.x/3.x

2024-10-29 Thread Piotr P. Karwasz
Hi all, As some of you are probably aware the Log4j 1.x Kafka Appender was removed in KAFKA-17860. The Apache Log4j project currently maintains a Kafka Appender for Log4j Core 2.x[2], but following a poll on `log4j-user@logging`[3] last year and a long discussion in the PMC, the appender has