You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jose Quinteiro (Updated) (JIRA)" <ji...@apache.org> on 2012/03/14 18:56:40 UTC

[jira] [Updated] (KAFKA-303) Dead code in the Log4j appender

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

Jose Quinteiro updated KAFKA-303:
---------------------------------

    Status: Patch Available  (was: Open)
    
> Dead code in the Log4j appender
> -------------------------------
>
>                 Key: KAFKA-303
>                 URL: https://issues.apache.org/jira/browse/KAFKA-303
>             Project: Kafka
>          Issue Type: Improvement
>          Components: core
>            Reporter: Jose Quinteiro
>            Priority: Trivial
>              Labels: log4j
>
> The log4j appender has the following class definition in it:
> class DefaultStringEncoder extends Encoder[LoggingEvent] {
>  override def toMessage(event: LoggingEvent):Message = new Message(event.getMessage.asInstanceOf[String].getBytes)
> }
> This left over and no longer used. The current version uses kafka.serializer.StringEncoder as the default encoder.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira