logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1582205 - in /logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/net: JSONLogEventInput.java XMLLogEventInput.java
Date Thu, 27 Mar 2014 06:09:01 GMT
Author: ggregory
Date: Thu Mar 27 06:09:00 2014
New Revision: 1582205

URL: http://svn.apache.org/r1582205
Log:
[LOG4J2-583] TCP and UDP socket servers should be able to handle XML log events. Refactor
current code for XML and JSON. Create stubs for XML and JSON implementations.

Modified:
    logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/net/JSONLogEventInput.java
    logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/net/XMLLogEventInput.java

Modified: logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/net/JSONLogEventInput.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/net/JSONLogEventInput.java?rev=1582205&r1=1582204&r2=1582205&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/net/JSONLogEventInput.java
(original)
+++ logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/net/JSONLogEventInput.java
Thu Mar 27 06:09:00 2014
@@ -24,7 +24,7 @@ import org.apache.logging.log4j.core.Log
 /**
  * Reads JSON {@link LogEvent}s.
  */
-public class JSONLogEventInput extends AbstractLogEventInput {
+public class JSONLogEventInput extends AbstractLogEventInput<InputStream> {
 
     @Override
     public LogEvent readLogEvent(InputStream inputStream) throws IOException {

Modified: logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/net/XMLLogEventInput.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/net/XMLLogEventInput.java?rev=1582205&r1=1582204&r2=1582205&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/net/XMLLogEventInput.java
(original)
+++ logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/net/XMLLogEventInput.java
Thu Mar 27 06:09:00 2014
@@ -24,7 +24,7 @@ import org.apache.logging.log4j.core.Log
 /**
  * Reads XML {@link LogEvent}s.
  */
-public class XMLLogEventInput extends AbstractLogEventInput {
+public class XMLLogEventInput extends AbstractLogEventInput<InputStream> {
 
     @Override
     public LogEvent readLogEvent(InputStream inputStream) throws IOException {



Mime
View raw message