Skip to content

Commit 96a31d8

Browse files
committed
Added more debug messages
1 parent b41e66d commit 96a31d8

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/org/clapper/curn/XMLDataPersister.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,13 +150,13 @@ public void init(CurnConfig curnConfig) throws CurnException
150150
null);
151151
if (cacheFileName == null)
152152
{
153-
log.debug("Feed metadata file is null.");
153+
log.debug("Feed metadata (cache) file is not configured.");
154154
}
155155

156156
else
157157
{
158-
log.debug("Feed metadata file is " + metadataFile);
159158
metadataFile = CurnUtil.mapConfiguredPathName(cacheFileName);
159+
log.debug("Feed metadata (cache) file is " + metadataFile);
160160
if (metadataFile.isDirectory())
161161
{
162162
throw new CurnException
@@ -375,6 +375,7 @@ protected void doLoad(LoadedDataHandler loadedDataHandler)
375375
throws CurnException
376376
{
377377
String filePath = metadataFile.getPath();
378+
log.debug("Preparing to load " + metadataFile);
378379
if (! metadataFile.exists())
379380
{
380381
log.warn("Feed metadata file \"" + filePath + "\" does not exist.");

0 commit comments

Comments
 (0)