You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Mario Copperfield <xw...@gmail.com> on 2017/04/11 07:36:31 UTC
Re: About log4j2 support Kafka
> 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