← Back to team overview

kadosu-dev team mailing list archive

[Branch ~kadosu-dev/kadosu/main] Rev 118: o use explicit call to logger

 

------------------------------------------------------------
revno: 118
committer: Martin Schaaf <mascha@xxxxxxxxxx>
branch nick: kadosu
timestamp: Sun 2009-11-22 20:56:26 +0100
message:
  o use explicit call to logger
modified:
  org.kadosu/src/main/java/org/kadosu/archive/ArchiveFactory.java


--
lp:kadosu
https://code.launchpad.net/~kadosu-dev/kadosu/main

Your team Kadosu Developer is subscribed to branch lp:kadosu.
To unsubscribe from this branch go to https://code.launchpad.net/~kadosu-dev/kadosu/main/+edit-subscription.
=== modified file 'org.kadosu/src/main/java/org/kadosu/archive/ArchiveFactory.java'
--- org.kadosu/src/main/java/org/kadosu/archive/ArchiveFactory.java	2008-11-05 16:10:44 +0000
+++ org.kadosu/src/main/java/org/kadosu/archive/ArchiveFactory.java	2009-11-22 19:56:26 +0000
@@ -42,7 +42,7 @@
 
     try {
       for (final IArchiveHandler archH : fHandler) {
-        fLogger.debug( "Test with handler: " + archH.getClass().getName());
+        ArchiveFactory.fLogger.debug( "Test with handler: " + archH.getClass().getName());
 
         final IConfigurationElement archConfig = fHandlerTo.get( archH);
 
@@ -52,11 +52,11 @@
           arch.setArchive( tempPath);
           break;
         } else {
-          fLogger.debug( "Cannot use '" + id + "' to index. Is it disabled? '" + handlerIds.contains( id) + "'");
+          ArchiveFactory.fLogger.debug( "Cannot use '" + id + "' to index. Is it enabled? '" + handlerIds.contains( id) + "'");
         }
       }
     } catch (final Exception e) {
-      fLogger.error( "Unexpected Exception: " + e.getMessage(), e);
+      ArchiveFactory.fLogger.error( "Unexpected Exception: " + e.getMessage(), e);
       arch = null;
     }