Skip to content

Commit

Permalink
refactor: 로그 레벨 debug로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ikjo39 committed Oct 10, 2024
1 parent c04ba8d commit 6715eb8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class RoutingDataSource extends AbstractRoutingDataSource {
protected Object determineCurrentLookupKey() {
boolean currentTransactionReadOnly = TransactionSynchronizationManager.isCurrentTransactionReadOnly();
String key = currentTransactionReadOnly ? DataSourceConfig.REPLICA_SERVER : DataSourceConfig.SOURCE_SERVER;
log.info("Activated Datasource: {}", key);
log.debug("Activated Datasource: {}", key);
return key;
}
}

0 comments on commit 6715eb8

Please sign in to comment.