| commit | 7ebe9854bdd8d2c9fd3e17f3d5a7055118d4a694 | [log] [tgz] |
|---|---|---|
| author | Ralph Goers <rgoers@apache.org> | Sun May 30 07:56:23 2010 +0000 |
| committer | Ralph Goers <rgoers@apache.org> | Sun May 30 07:56:23 2010 +0000 |
| tree | c18fedca4ccd193443845be4142091a5f7f4db1e | |
| parent | a97cdd554d109e6e1fa066b730f3a0b5793f8f9e [diff] |
Comment on @doubt entries git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/branches/BRANCH_2_0_EXPERIMENTAL/rgoers@949489 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/log4j2-core/src/main/java/org/apache/logging/log4j/core/Log4jLogEvent.java b/log4j2-core/src/main/java/org/apache/logging/log4j/core/Log4jLogEvent.java index 09930ad..6216365 100644 --- a/log4j2-core/src/main/java/org/apache/logging/log4j/core/Log4jLogEvent.java +++ b/log4j2-core/src/main/java/org/apache/logging/log4j/core/Log4jLogEvent.java
@@ -120,6 +120,9 @@ /** * @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) {