kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jun...@apache.org
Subject svn commit: r1303239 - /incubator/kafka/trunk/core/src/main/scala/kafka/producer/KafkaLog4jAppender.scala
Date Wed, 21 Mar 2012 00:38:14 GMT
Author: junrao
Date: Wed Mar 21 00:38:14 2012
New Revision: 1303239

URL: http://svn.apache.org/viewvc?rev=1303239&view=rev
Log:
Dead code in the Log4j appender; patched by Jose Quinteiro; reviewed by Jun Rao; KAFKA-303

Modified:
    incubator/kafka/trunk/core/src/main/scala/kafka/producer/KafkaLog4jAppender.scala

Modified: incubator/kafka/trunk/core/src/main/scala/kafka/producer/KafkaLog4jAppender.scala
URL: http://svn.apache.org/viewvc/incubator/kafka/trunk/core/src/main/scala/kafka/producer/KafkaLog4jAppender.scala?rev=1303239&r1=1303238&r2=1303239&view=diff
==============================================================================
--- incubator/kafka/trunk/core/src/main/scala/kafka/producer/KafkaLog4jAppender.scala (original)
+++ incubator/kafka/trunk/core/src/main/scala/kafka/producer/KafkaLog4jAppender.scala Wed
Mar 21 00:38:14 2012
@@ -94,7 +94,3 @@ class KafkaLog4jAppender extends Appende
 
   override def requiresLayout: Boolean = false
 }
-
-class DefaultStringEncoder extends Encoder[LoggingEvent] {
-  override def toMessage(event: LoggingEvent):Message = new Message(event.getMessage.asInstanceOf[String].getBytes)
-}



Mime
View raw message