debug optim

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1138209 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2011-06-21 22:13:17 +00:00
parent a26b625c43
commit 1666960349
2 changed files with 5 additions and 5 deletions

View File

@ -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 void processFile( String path )
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 void processFile( String path, boolean executeOnEntireRepo )
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 void completeScan()
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 )

View File

@ -179,7 +179,7 @@ private SearchResults search( SearchResultLimits limits, BooleanQuery q )
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 )
{