Skip to content

Commit c1ec7cc

Browse files
committed
Change log level to DEBUG for batch configuration
Related to #5055
1 parent 706add7 commit c1ec7cc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

spring-batch-core/src/main/java/org/springframework/batch/core/launch/support/TaskExecutorJobLauncher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ public void setTaskExecutor(TaskExecutor taskExecutor) {
283283
public void afterPropertiesSet() throws Exception {
284284
Assert.state(jobRepository != null, "A JobRepository has not been set.");
285285
if (taskExecutor == null) {
286-
logger.info("No TaskExecutor has been set, defaulting to synchronous executor.");
286+
logger.debug("No TaskExecutor has been set, defaulting to synchronous executor.");
287287
taskExecutor = new SyncTaskExecutor();
288288
}
289289
}

spring-batch-core/src/main/java/org/springframework/batch/core/step/item/ChunkOrientedStep.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,11 +317,11 @@ public void registerSkipListener(SkipListener<I, O> skipListener) {
317317
public void afterPropertiesSet() throws Exception {
318318
super.afterPropertiesSet();
319319
if (this.transactionManager == null) {
320-
logger.info("No transaction manager has been set. Defaulting to ResourcelessTransactionManager.");
320+
logger.debug("No transaction manager has been set. Defaulting to ResourcelessTransactionManager.");
321321
this.transactionManager = new ResourcelessTransactionManager();
322322
}
323323
if (this.transactionAttribute == null) {
324-
logger.info("No transaction attribute has been set. Defaulting to DefaultTransactionAttribute.");
324+
logger.debug("No transaction attribute has been set. Defaulting to DefaultTransactionAttribute.");
325325
this.transactionAttribute = new DefaultTransactionAttribute();
326326
}
327327
Assert.isTrue(this.chunkSize > 0, "Chunk size must be greater than 0");

0 commit comments

Comments
 (0)