Skip to content

Commit 82e3a6a

Browse files
committed
Polish
1 parent 8c1df92 commit 82e3a6a

File tree

5 files changed

+26
-6
lines changed

5 files changed

+26
-6
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/http/codec/CodecsAutoConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
2323
import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
2424
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
25-
import org.springframework.boot.autoconfigure.insights.InsightsProperties;
25+
import org.springframework.boot.autoconfigure.insight.InsightsProperties;
2626
import org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration;
2727
import org.springframework.boot.context.properties.EnableConfigurationProperties;
2828
import org.springframework.boot.web.codec.CodecCustomizer;
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.autoconfigure.insights;
17+
package org.springframework.boot.autoconfigure.insight;
1818

1919
import org.springframework.boot.context.properties.ConfigurationProperties;
2020

2121
/**
22-
* {@link ConfigurationProperties properties} for .
22+
* Configuration properties for customizing application insights.
2323
*
2424
* @author Brian Clozel
2525
* @since 2.1.0
@@ -39,7 +39,7 @@ public static class Web {
3939
* Whether logging of (potentially sensitive) request details at DEBUG and TRACE
4040
* level is allowed.
4141
*/
42-
private boolean logRequestDetails = false;
42+
private boolean logRequestDetails;
4343

4444
public boolean isLogRequestDetails() {
4545
return this.logRequestDetails;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
/*
2+
* Copyright 2012-2018 the original author or authors.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
/**
18+
* Auto-configuration for application insights.
19+
*/
20+
package org.springframework.boot.autoconfigure.insight;

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/servlet/DispatcherServletAutoConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication;
3737
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication.Type;
3838
import org.springframework.boot.autoconfigure.condition.SpringBootCondition;
39-
import org.springframework.boot.autoconfigure.insights.InsightsProperties;
39+
import org.springframework.boot.autoconfigure.insight.InsightsProperties;
4040
import org.springframework.boot.context.properties.EnableConfigurationProperties;
4141
import org.springframework.boot.web.servlet.ServletRegistrationBean;
4242
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

spring-boot-project/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ content into your application. Rather, pick only the properties that you need.
9292
# HAZELCAST ({sc-spring-boot-autoconfigure}/hazelcast/HazelcastProperties.{sc-ext}[HazelcastProperties])
9393
spring.hazelcast.config= # The location of the configuration file to use to initialize Hazelcast.
9494
95-
# INSIGHTS
95+
# INSIGHTS ({sc-spring-boot-autoconfigure}/insight/InsightsProperties.{sc-ext}[InsightsProperties])
9696
spring.insights.web.log-request-details=false # Whether logging of (potentially sensitive) request details at DEBUG and TRACE level is allowed.
9797
9898
# PROJECT INFORMATION ({sc-spring-boot-autoconfigure}/info/ProjectInfoProperties.{sc-ext}[ProjectInfoProperties])

0 commit comments

Comments
 (0)