mirror of
https://github.com/apache/archiva.git
synced 2025-02-22 18:31:43 +00:00
debug optim
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1138209 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a26b625c43
commit
1666960349
@ -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 )
|
||||
|
@ -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 )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user