|
@@ -29,8 +29,8 @@ public class CituApiLogAutoConfiguration implements WebMvcConfigurer {
|
|
|
* 创建 ApiAccessLogFilter Bean,记录 API 请求日志
|
|
|
*/
|
|
|
@Bean
|
|
|
- @ConditionalOnProperty(prefix = "yudao.access-log", value = "enable", matchIfMissing = true)
|
|
|
- // 允许使用 yudao.access-log.enable=false 禁用访问日志
|
|
|
+ @ConditionalOnProperty(prefix = "citu.access-log", value = "enable", matchIfMissing = true)
|
|
|
+ // 允许使用 citu.access-log.enable=false 禁用访问日志
|
|
|
@SuppressWarnings("SpringJavaInjectionPointsAutowiringInspection")
|
|
|
public FilterRegistrationBean<ApiAccessLogFilter> apiAccessLogFilter(WebProperties webProperties,
|
|
|
@Value("${spring.application.name}") String applicationName,
|