You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2017/09/06 22:37:00 UTC

svn commit: r1807541 - in /commons/proper/vfs/trunk: commons-vfs2/src/main/java/org/apache/commons/vfs2/Resources.properties commons-vfs2/src/main/java/org/apache/commons/vfs2/impl/DefaultFileReplicator.java src/changes/changes.xml

Author: ggregory
Date: Wed Sep  6 22:37:00 2017
New Revision: 1807541

URL: http://svn.apache.org/viewvc?rev=1807541&view=rev
Log:
[VFS-643] VFS should not log at the INFO level.

Modified:
    commons/proper/vfs/trunk/commons-vfs2/src/main/java/org/apache/commons/vfs2/Resources.properties
    commons/proper/vfs/trunk/commons-vfs2/src/main/java/org/apache/commons/vfs2/impl/DefaultFileReplicator.java
    commons/proper/vfs/trunk/src/changes/changes.xml

Modified: commons/proper/vfs/trunk/commons-vfs2/src/main/java/org/apache/commons/vfs2/Resources.properties
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/commons-vfs2/src/main/java/org/apache/commons/vfs2/Resources.properties?rev=1807541&r1=1807540&r2=1807541&view=diff
==============================================================================
--- commons/proper/vfs/trunk/commons-vfs2/src/main/java/org/apache/commons/vfs2/Resources.properties (original)
+++ commons/proper/vfs/trunk/commons-vfs2/src/main/java/org/apache/commons/vfs2/Resources.properties Wed Sep  6 22:37:00 2017
@@ -157,7 +157,7 @@ vfs.impl/delete-temp.warn=Could not clea
 vfs.impl/init-replicator.error=Could not initialise file replicator.
 vfs.impl/already-inited.error=Manager already inited, cant change the configuration now.
 vfs.impl/invalid-decorator.error="{0}" is not a valid decorator. It has to extend "DecoratedFileObject" and must provide a single argument constructor which takes a "FileObject"
-vfs.impl/temp-dir.info=Using "{0}" as temporary files store.
+vfs.impl/temp-dir.debug=Using "{0}" as temporary files store.
 
 # StandardFileSystemManager
 vfs.impl/find-config-file.error=Could not find VFS configuration resource "{0}".

Modified: commons/proper/vfs/trunk/commons-vfs2/src/main/java/org/apache/commons/vfs2/impl/DefaultFileReplicator.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/commons-vfs2/src/main/java/org/apache/commons/vfs2/impl/DefaultFileReplicator.java?rev=1807541&r1=1807540&r2=1807541&view=diff
==============================================================================
--- commons/proper/vfs/trunk/commons-vfs2/src/main/java/org/apache/commons/vfs2/impl/DefaultFileReplicator.java (original)
+++ commons/proper/vfs/trunk/commons-vfs2/src/main/java/org/apache/commons/vfs2/impl/DefaultFileReplicator.java Wed Sep  6 22:37:00 2017
@@ -203,8 +203,8 @@ public class DefaultFileReplicator
 
         if (!tempDirMessageLogged)
         {
-            final String message = Messages.getString("vfs.impl/temp-dir.info", tempDir);
-            VfsLog.info(getLogger(), log, message);
+            final String message = Messages.getString("vfs.impl/temp-dir.debug", tempDir);
+            VfsLog.debug(getLogger(), log, message);
 
             tempDirMessageLogged = true;
         }

Modified: commons/proper/vfs/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/src/changes/changes.xml?rev=1807541&r1=1807540&r2=1807541&view=diff
==============================================================================
--- commons/proper/vfs/trunk/src/changes/changes.xml (original)
+++ commons/proper/vfs/trunk/src/changes/changes.xml Wed Sep  6 22:37:00 2017
@@ -80,6 +80,9 @@ The <action> type attribute can be add,u
       <action issue="VFS-621" dev="ggregory" type="update">
         Add API VFS.setManager(FileSystemManager).
       </action>
+      <action issue="VFS-643" dev="ggregory" type="update">
+        VFS should not log at the INFO level.
+      </action>
       <action issue="VFS-620" dev="ggregory" type="fix" due-to="stevezhuang">
         FileObject.moveTo(FileObject) API doesn't work well for a Linux FTP.
       </action>