You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by im...@apache.org on 2006/07/27 15:07:39 UTC

svn commit: r426058 - in /jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs: Resources.properties impl/DefaultFileReplicator.java

Author: imario
Date: Thu Jul 27 06:07:39 2006
New Revision: 426058

URL: http://svn.apache.org/viewvc?rev=426058&view=rev
Log:
added log.info message to give some hints where the temp-files are placed

Modified:
    jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/Resources.properties
    jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/impl/DefaultFileReplicator.java

Modified: jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/Resources.properties
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/Resources.properties?rev=426058&r1=426057&r2=426058&view=diff
==============================================================================
--- jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/Resources.properties (original)
+++ jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/Resources.properties Thu Jul 27 06:07:39 2006
@@ -132,6 +132,7 @@
 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.
 
 # StandardFileSystemManager
 vfs.impl/find-config-file.error=Could not find VFS configuration resource "{0}".

Modified: jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/impl/DefaultFileReplicator.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/impl/DefaultFileReplicator.java?rev=426058&r1=426057&r2=426058&view=diff
==============================================================================
--- jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/impl/DefaultFileReplicator.java (original)
+++ jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/impl/DefaultFileReplicator.java Thu Jul 27 06:07:39 2006
@@ -77,6 +77,9 @@
             String baseTmpDir = System.getProperty("java.io.tmpdir");
 
             tempDir = new File(baseTmpDir, "vfs_cache").getAbsoluteFile();
+
+            final String message = Messages.getString("vfs.impl/temp-dir.info", tempDir);
+            VfsLog.info(getLogger(), log, message);
         }
 
         filecount = new Random().nextInt() & 0xffff;



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