[logback-dev] svn commit: r1512 - logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/net

noreply.ceki at qos.ch noreply.ceki at qos.ch
Thu May 3 16:12:41 CEST 2007


Author: ceki
Date: Thu May  3 16:12:40 2007
New Revision: 1512

Modified:
   logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/net/SocketAppender.java

Log:
minor changes

Modified: logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/net/SocketAppender.java
==============================================================================
--- logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/net/SocketAppender.java	(original)
+++ logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/net/SocketAppender.java	Thu May  3 16:12:40 2007
@@ -20,9 +20,9 @@
  * Sends {@link LoggingEvent} objects to a remote a log server, usually a
  * {@link SocketNode}.
  * 
- * For more information about this appender, please refer to the online manual at
- * http://logback.qos.ch/manual/appenders.html#SocketAppender
- *  
+ * For more information on this appender, please refer to the online manual
+ * at http://logback.qos.ch/manual/appenders.html#SocketAppender
+ * 
  * @author Ceki Gülcü
  * @author Sébastien Pennec
  */
@@ -30,7 +30,7 @@
 public class SocketAppender extends SocketAppenderBase<LoggingEvent> {
 
   boolean includeCallerData = false;
-  
+
   public SocketAppender() {
   }
 
@@ -51,14 +51,14 @@
     this.address = getAddressByName(host);
     this.remoteHost = host;
   }
-  
+
   @Override
   protected void postProcessEvent(LoggingEvent event) {
-  if (includeCallerData) {
-      ((LoggingEvent) event).getCallerData();
-    } 
+    if (includeCallerData) {
+      event.getCallerData();
+    }
   }
-  
+
   public void setIncludeCallerData(boolean includeCallerData) {
     this.includeCallerData = includeCallerData;
   }



More information about the logback-dev mailing list