You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by rg...@apache.org on 2010/05/30 09:56:23 UTC

svn commit: r949489 - /logging/log4j/branches/BRANCH_2_0_EXPERIMENTAL/rgoers/log4j2-core/src/main/java/org/apache/logging/log4j/core/Log4jLogEvent.java

Author: rgoers
Date: Sun May 30 07:56:23 2010
New Revision: 949489

URL: http://svn.apache.org/viewvc?rev=949489&view=rev
Log:
Comment on @doubt entries

Modified:
    logging/log4j/branches/BRANCH_2_0_EXPERIMENTAL/rgoers/log4j2-core/src/main/java/org/apache/logging/log4j/core/Log4jLogEvent.java

Modified: logging/log4j/branches/BRANCH_2_0_EXPERIMENTAL/rgoers/log4j2-core/src/main/java/org/apache/logging/log4j/core/Log4jLogEvent.java
URL: http://svn.apache.org/viewvc/logging/log4j/branches/BRANCH_2_0_EXPERIMENTAL/rgoers/log4j2-core/src/main/java/org/apache/logging/log4j/core/Log4jLogEvent.java?rev=949489&r1=949488&r2=949489&view=diff
==============================================================================
--- logging/log4j/branches/BRANCH_2_0_EXPERIMENTAL/rgoers/log4j2-core/src/main/java/org/apache/logging/log4j/core/Log4jLogEvent.java (original)
+++ logging/log4j/branches/BRANCH_2_0_EXPERIMENTAL/rgoers/log4j2-core/src/main/java/org/apache/logging/log4j/core/Log4jLogEvent.java Sun May 30 07:56:23 2010
@@ -120,6 +120,9 @@ public class Log4jLogEvent implements Lo
     /**
      * @doubt Not quite sure what is going on with the loop, but looks like it might
      *     drop only the deepest call from the fully qualified class, not all of them.
+     * (RG) The loop finds the FQCN and on the next iteration returns the StackTraceElement of
+     * the caller of FQCN. Don't know what you mean by "not all of them" as it only returns
+     * a single element.
      */
     public StackTraceElement getSource() {
         if (fqcnOfLogger == null) {



---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org