imario      2004/05/15 02:15:11

  Modified:    vfs/src/java/org/apache/commons/vfs Resources.properties
               vfs/src/java/org/apache/commons/vfs/impl
                        StandardFileSystemManager.java
  Log:
  Adam R. B. Jack convinced me.

  changed "skip provider" message from "warn" to "debug"
  
  Revision  Changes    Path
  1.31      +1 -1      
jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/Resources.properties
  
  Index: Resources.properties
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/Resources.properties,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- Resources.properties      10 May 2004 20:09:46 -0000      1.30
  +++ Resources.properties      15 May 2004 09:15:11 -0000      1.31
  @@ -105,7 +105,7 @@
   vfs.impl/create-provider.error=Could not create file provider of class "{0}".
   vfs.impl/create-files-cache.error=Could not create files-cache implementation of 
class "{0}".
   vfs.impl/create-client-factory.error=Could not create client factory of class "{0}".
  -vfs.impl/skipping-provider.warn=Skipping provider "{0}" because required class 
"{1}" is not available.
  +vfs.impl/skipping-provider.debug=Skipping provider "{0}" because required class 
"{1}" is not available.
   
   # VFSClassLoader
   vfs.impl/pkg-sealing-unsealed=Trying to seal package "{0}" that exists as unsealed.
  
  
  
  1.18      +7 -4      
jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/impl/StandardFileSystemManager.java
  
  Index: StandardFileSystemManager.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/impl/StandardFileSystemManager.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- StandardFileSystemManager.java    10 May 2004 20:09:47 -0000      1.17
  +++ StandardFileSystemManager.java    15 May 2004 09:15:11 -0000      1.18
  @@ -29,7 +29,10 @@
   
   /**
    * A [EMAIL PROTECTED] org.apache.commons.vfs.FileSystemManager} that configures 
itself
  - * from an XML configuration file.
  + * from an XML (Default: providers.xml) configuration file.<br>
  + * Certain providers are only loaded and available if the dependend library is in 
your
  + * classpath. You have to configure your debugging facility to log "debug" messages 
to see
  + * if a provider was skipped due to "unresolved externals".
    *
    * @author <a href="mailto:[EMAIL PROTECTED]">Adam Murdoch</a>
    * @version $Revision$ $Date$
  @@ -197,9 +200,9 @@
               final String requiredClass = requiredClasses[i];
               if (!findClass(requiredClass))
               {
  -                final String msg = 
Messages.getString("vfs.impl/skipping-provider.warn",
  +                final String msg = 
Messages.getString("vfs.impl/skipping-provider.debug",
                       new String[]{classname, requiredClass});
  -                getLog().warn(msg);
  +                getLog().debug(msg);
                   return;
               }
           }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to