Re: About log4j2 support Kafka

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: About log4j2 support Kafka

Mario Copperfield


> Hi, all
>   I notice  that the logs produced by log4j2 can be written into Kafka.
>   I want to know if the log4j2 configuration file written in .properties?
>   If it can, how do i name the ‘properties’ in .xml as flowing:
>   <Kafka name="kafka" topic=“xxx">
>         <PatternLayout pattern="%message"/>
>         <Property name="bootstrap.servers”><ip>:9092</Property>
>       </Kafka>
>
> Thanks!
>
> --
> Best regards,
> Amuro Copperfield
Loading...