incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r809855 - /sling/trunk/bundles/jcr/jackrabbit-server/src/main/java/org/apache/sling/jcr/jackrabbit/server/impl/SlingServerRepository.java
Date Tue, 01 Sep 2009 06:49:09 GMT
Author: bdelacretaz
Date: Tue Sep  1 06:49:09 2009
New Revision: 809855

URL: http://svn.apache.org/viewvc?rev=809855&view=rev
Log:
SLING-739 - log which config file is used

Modified:
    sling/trunk/bundles/jcr/jackrabbit-server/src/main/java/org/apache/sling/jcr/jackrabbit/server/impl/SlingServerRepository.java

Modified: sling/trunk/bundles/jcr/jackrabbit-server/src/main/java/org/apache/sling/jcr/jackrabbit/server/impl/SlingServerRepository.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/jcr/jackrabbit-server/src/main/java/org/apache/sling/jcr/jackrabbit/server/impl/SlingServerRepository.java?rev=809855&r1=809854&r2=809855&view=diff
==============================================================================
--- sling/trunk/bundles/jcr/jackrabbit-server/src/main/java/org/apache/sling/jcr/jackrabbit/server/impl/SlingServerRepository.java
(original)
+++ sling/trunk/bundles/jcr/jackrabbit-server/src/main/java/org/apache/sling/jcr/jackrabbit/server/impl/SlingServerRepository.java
Tue Sep  1 06:49:09 2009
@@ -108,9 +108,11 @@
             File configFile = new File(configURLObj);
             if (configFile.canRead()) {
                 ins = new FileInputStream(configFile);
+                log(LogService.LOG_INFO, "Using configuration file " + configFile.getAbsolutePath());
             } else {
                 URL configURL = new URL(configURLObj);
                 ins = configURL.openStream();
+                log(LogService.LOG_INFO, "Using configuration URL " + configURL);
             }
 
             RepositoryConfig crc = RepositoryConfig.create(ins, home);



Mime
View raw message