Skip to content

Commit f480ce7

Browse files
committed
修改日志条件为hsweb.access-logger
1 parent b7a95bf commit f480ce7

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

hsweb-web-controller/src/main/java/org/hsweb/web/controller/AopAccessLoggerResolverAutoConfiguration.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,9 @@
2121
import javax.annotation.PostConstruct;
2222
import java.util.List;
2323

24-
/**
25-
* Created by zhouhao on 16-4-28.
26-
*/
2724
@Configuration
28-
@ConditionalOnProperty(name = "logger.access", havingValue = "true")
29-
public class AopAccessLoggerResolverAutoConfiguration{
25+
@ConditionalOnProperty(name = "hsweb.access-logger", havingValue = "true")
26+
public class AopAccessLoggerResolverAutoConfiguration {
3027
@Bean
3128
public AopAccessLoggerResolverConfiguration aopAccessLoggerResolverConfiguration() {
3229
return new AopAccessLoggerResolverConfiguration();

0 commit comments

Comments
 (0)