Author: mickw
Date: 2006-04-03 13:46:53 +0200 (Mon, 03 Apr 2006)
New Revision: 2696
Modified:
trunk/src/java/no/schibstedsok/front/searchportal/configuration/loader/UrlResourceLoader.java
Log:
log trace
Modified:
trunk/src/java/no/schibstedsok/front/searchportal/configuration/loader/UrlResourceLoader.java
===================================================================
---
trunk/src/java/no/schibstedsok/front/searchportal/configuration/loader/UrlResourceLoader.java
2006-04-03 10:37:05 UTC (rev 2695)
+++
trunk/src/java/no/schibstedsok/front/searchportal/configuration/loader/UrlResourceLoader.java
2006-04-03 11:46:53 UTC (rev 2696)
@@ -35,6 +35,7 @@
private static final String WARN_USING_FALLBACK = "Falling back to default
version for resource ";
private static final String FATAL_RESOURCE_NOT_LOADED = "Resource not
found ";
+ private static final String DEBUG_CHECKING_EXISTANCE_OF = "Checking
existance of ";
/** Create a new PropertiesLoader for the given resource name/path and
load it into the given properties.
* @param siteCxt the SiteContext that will tell us which site we are
dealing with.
@@ -98,6 +99,8 @@
con.addRequestProperty("host",
UrlResourceLoader.getHostHeader(url));
success = (con.getResponseCode() == HttpURLConnection.HTTP_OK);
+ LOG.trace(DEBUG_CHECKING_EXISTANCE_OF + u + " is " + success);
+
} catch (NullPointerException e) {
LOG.debug(url, e);
_______________________________________________
Kernel-commits mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-commits