Skip to content

Commit 672978d

Browse files
committed
enableLogging配置作废
1 parent 4badce8 commit 672978d

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

spring-boot-data-aggregator-autoconfigure/src/main/java/io/github/lvyahui8/spring/autoconfigure/BeanAggregateAutoConfiguration.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,6 @@ public DataBeanAggregateQueryService dataBeanAggregateQueryService (
128128

129129
DataBeanAggregateQueryServiceImpl service = new DataBeanAggregateQueryServiceImpl();
130130
RuntimeSettings runtimeSettings = new RuntimeSettings();
131-
runtimeSettings.setEnableLogging(properties.getEnableLogging() != null
132-
? properties.getEnableLogging() : false);
133131
runtimeSettings.setIgnoreException(properties.isIgnoreException());
134132
runtimeSettings.setTimeout(properties.getDefaultTimeout());
135133
service.setRepository(dataProviderRepository);

spring-boot-data-aggregator-autoconfigure/src/main/java/io/github/lvyahui8/spring/autoconfigure/BeanAggregateProperties.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ public class BeanAggregateProperties {
3535
/**
3636
* Allow output log
3737
*/
38+
@Deprecated
3839
private Boolean enableLogging = true;
3940
/**
4041
* Ignore exception thrown by asynchronous execution, method returns null value

spring-boot-data-aggregator-core/src/main/java/io/github/lvyahui8/spring/aggregate/config/RuntimeSettings.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
*/
99
@Data
1010
public class RuntimeSettings {
11-
private boolean enableLogging;
1211
private boolean ignoreException;
1312
private Long timeout;
1413
}

0 commit comments

Comments
 (0)