mirror of https://github.com/apache/archiva.git
optimize use of debug
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1130088 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8a68012d12
commit
498a6c57cd
|
@ -140,7 +140,7 @@ public class RepositoryScannerInstance
|
|||
|
||||
public void directoryWalkStep( int percentage, File file )
|
||||
{
|
||||
log.debug( "Walk Step: " + percentage + ", " + file );
|
||||
log.debug( "Walk Step: {}, {}", percentage, file );
|
||||
|
||||
stats.increaseFileCount();
|
||||
|
||||
|
@ -184,7 +184,7 @@ public class RepositoryScannerInstance
|
|||
*/
|
||||
public void debug( String message )
|
||||
{
|
||||
log.debug( "Repository Scanner: " + message );
|
||||
log.debug( "Repository Scanner: {}", message );
|
||||
}
|
||||
|
||||
public ManagedRepositoryConfiguration getRepository()
|
||||
|
|
|
@ -55,7 +55,7 @@ public class ConsumerProcessFileClosure
|
|||
String id = consumer.getId();
|
||||
try
|
||||
{
|
||||
log.debug( "Sending to consumer: " + id );
|
||||
log.debug( "Sending to consumer: {}", id );
|
||||
|
||||
long startTime = System.currentTimeMillis();
|
||||
consumer.processFile( basefile.getRelativePath(), executeOnEntireRepo );
|
||||
|
|
|
@ -54,7 +54,7 @@ public class TriggerScanCompletedClosure
|
|||
{
|
||||
RepositoryContentConsumer consumer = (RepositoryContentConsumer) input;
|
||||
consumer.completeScan( executeOnEntireRepo );
|
||||
log.debug( "Consumer [" + consumer.getId() + "] completed for repository [" + repository.getId() + "]" );
|
||||
log.debug( "Consumer [{}] completed for repository [{}]", consumer.getId(), repository.getId() );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue