[ 
https://issues.apache.org/jira/browse/KAFKA-1136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joel Koshy updated KAFKA-1136:
------------------------------

    Fix Version/s: 0.8.1

> Add subAppend in Log4jAppender for generic usage
> ------------------------------------------------
>
>                 Key: KAFKA-1136
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1136
>             Project: Kafka
>          Issue Type: Improvement
>          Components: producer 
>            Reporter: Jie Huang
>            Assignee: Jun Rao
>            Priority: Trivial
>             Fix For: 0.8.1
>
>         Attachments: KAFKA-1136.diff
>
>
> KafkaLog4jAppender is quite useful for us to send our log4j logs to the Kafka 
> system with ease. However, according to our experience,  it is not so that 
> convenient to customize the message content before emitting it out. 
> Sometimes, we need to decorate the message like adding more system level 
> information before passing it to the producer. I wonder if it is possible to 
> add one subAppend() function, like org.apache.log4j.WriterAppender does. 
> Thus, the end user can customize their message by overwriting the subAppend() 
> only in their own hierarchy class, and re-use all the rest part.  



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to