Repository: logging-log4j2
Updated Branches:
  refs/heads/master 044ea14c4 -> 95cc02a51


Better status logger message.

Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/95cc02a5
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/95cc02a5
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/95cc02a5

Branch: refs/heads/master
Commit: 95cc02a51db05119b5d46383e1a4af2479e72a36
Parents: 044ea14
Author: Gary Gregory <ggreg...@apache.org>
Authored: Wed Sep 21 10:33:09 2016 -0700
Committer: Gary Gregory <ggreg...@apache.org>
Committed: Wed Sep 21 10:33:09 2016 -0700

----------------------------------------------------------------------
 .../main/java/org/apache/logging/log4j/core/util/WatchManager.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/95cc02a5/log4j-core/src/main/java/org/apache/logging/log4j/core/util/WatchManager.java
----------------------------------------------------------------------
diff --git 
a/log4j-core/src/main/java/org/apache/logging/log4j/core/util/WatchManager.java 
b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/WatchManager.java
index b0c6080..df99998 100644
--- 
a/log4j-core/src/main/java/org/apache/logging/log4j/core/util/WatchManager.java
+++ 
b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/WatchManager.java
@@ -98,7 +98,7 @@ public class WatchManager extends AbstractLifeCycle {
                 final FileMonitor fileMonitor = entry.getValue();
                 final long lastModfied = file.lastModified();
                 if (fileModified(fileMonitor, lastModfied)) {
-                    logger.info("File {} was modified", file);
+                    logger.info("File {} was modified on {}, previous 
modification was {}", file, lastModfied, fileMonitor.lastModified);
                     fileMonitor.lastModified = lastModfied;
                     fileMonitor.fileWatcher.fileModified(file);
                 }

Reply via email to