Skip to content

Commit c9c9f94

Browse files
authored
Merge pull request #57 from yma96/1.1.x
Update log
2 parents 33011b0 + 543e621 commit c9c9f94

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/java/org/commonjava/indy/service/archive/controller/ArchiveController.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,12 +162,12 @@ public void generate( HistoricalContentDTO content )
162162
recordInProgress( buildConfigId );
163163
if ( generateExecutor.isShutdown() || generateExecutor.isTerminated() )
164164
{
165-
logger.info( "new generateExecutor" );
165+
logger.debug( "New generateExecutor" );
166166
newGenerateExecutor();
167167
}
168168
if ( downloadExecutor.isShutdown() || downloadExecutor.isTerminated() )
169169
{
170-
logger.info( "new downloadExecutor" );
170+
logger.debug( "New downloadExecutor" );
171171
newDownloadExecutor();
172172
}
173173
CompletableFuture<Void> future = CompletableFuture.runAsync( () -> {
@@ -195,7 +195,7 @@ public void generate( HistoricalContentDTO content )
195195
// If timeout happens on generation, cancel and remove the status to make sure following generation
196196
removeStatus( buildConfigId );
197197
cleanupBCWorkspace( buildConfigId );
198-
logger.warn( "Generation timeout for buildConfigId {}, try to shut down the generation executor",
198+
logger.warn( "Generation timeout for buildConfigId {}, try to shut down the generation executor.",
199199
buildConfigId );
200200
generateExecutor.shutdownNow();
201201
downloadExecutor.shutdownNow();
@@ -310,7 +310,7 @@ public void cleanup()
310310
artifact.delete();
311311
}
312312
dir.delete();
313-
logger.info( "Temporary workplace {} cleanup is finished.", contentDir );
313+
logger.info( "All temporary workplace {} cleanup is finished from cleanup request.", contentDir );
314314
}
315315

316316
public void cleanupBCWorkspace( String buildConfigId )

0 commit comments

Comments
 (0)