diff options
author | Olivier Lamy <olamy@apache.org> | 2011-06-21 22:13:17 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2011-06-21 22:13:17 +0000 |
commit | 16669603496f78bf2cf7a2a4c93874571695eb45 (patch) | |
tree | dac153ae3ff1d7dadcde20ce27d4c3bff3f63fd8 | |
parent | a26b625c437b646700ed954c7e261093498dc859 (diff) | |
download | archiva-16669603496f78bf2cf7a2a4c93874571695eb45.tar.gz archiva-16669603496f78bf2cf7a2a4c93874571695eb45.zip |
debug optim
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1138209 13f79535-47bb-0310-9956-ffa450edef68
2 files changed, 5 insertions, 5 deletions
diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-lucene-consumers/src/main/java/org/apache/archiva/consumers/lucene/NexusIndexerConsumer.java b/archiva-modules/archiva-base/archiva-consumers/archiva-lucene-consumers/src/main/java/org/apache/archiva/consumers/lucene/NexusIndexerConsumer.java index 10965bf39..ced5e923a 100644 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-lucene-consumers/src/main/java/org/apache/archiva/consumers/lucene/NexusIndexerConsumer.java +++ b/archiva-modules/archiva-base/archiva-consumers/archiva-lucene-consumers/src/main/java/org/apache/archiva/consumers/lucene/NexusIndexerConsumer.java @@ -52,7 +52,7 @@ public class NexusIndexerConsumer extends AbstractMonitoredConsumer implements KnownRepositoryContentConsumer, RegistryListener, Initializable { - private static final Logger log = LoggerFactory.getLogger( NexusIndexerConsumer.class ); + private Logger log = LoggerFactory.getLogger( NexusIndexerConsumer.class ); private ArchivaConfiguration configuration; @@ -135,7 +135,7 @@ public class NexusIndexerConsumer new ArtifactIndexingTask( repository, artifactFile, ArtifactIndexingTask.Action.ADD, context ); try { - log.debug( "Queueing indexing task + '" + task + "' to add or update the artifact in the index." ); + log.debug( "Queueing indexing task '{}' to add or update the artifact in the index.", task ); scheduler.queueTask( task ); } catch ( TaskQueueException e ) @@ -160,7 +160,7 @@ public class NexusIndexerConsumer new ArtifactIndexingTask( repository, artifactFile, ArtifactIndexingTask.Action.ADD, context, false ); try { - log.debug( "Queueing indexing task + '" + task + "' to add or update the artifact in the index." ); + log.debug( "Queueing indexing task '{}' to add or update the artifact in the index.", task ); scheduler.queueTask( task ); } catch ( TaskQueueException e ) @@ -176,7 +176,7 @@ public class NexusIndexerConsumer new ArtifactIndexingTask( repository, null, ArtifactIndexingTask.Action.FINISH, context ); try { - log.debug( "Queueing indexing task + '" + task + "' to finish indexing." ); + log.debug( "Queueing indexing task '{}' to finish indexing.", task ); scheduler.queueTask( task ); } catch ( TaskQueueException e ) diff --git a/archiva-modules/archiva-base/archiva-indexer/src/main/java/org/apache/archiva/indexer/search/NexusRepositorySearch.java b/archiva-modules/archiva-base/archiva-indexer/src/main/java/org/apache/archiva/indexer/search/NexusRepositorySearch.java index b58cfea17..92f8bea66 100644 --- a/archiva-modules/archiva-base/archiva-indexer/src/main/java/org/apache/archiva/indexer/search/NexusRepositorySearch.java +++ b/archiva-modules/archiva-base/archiva-indexer/src/main/java/org/apache/archiva/indexer/search/NexusRepositorySearch.java @@ -179,7 +179,7 @@ public class NexusRepositorySearch try { indexer.removeIndexingContext( entry.getValue(), false ); - log.debug( "Indexing context '" + entry.getKey() + "' removed from search." ); + log.debug( "Indexing context '{}' removed from search.", entry.getKey() ); } catch ( IOException e ) { |