com.healthy.common.log.access.properties.AccessLogProperties Maven / Gradle / Ivy
package com.healthy.common.log.access.properties;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import java.util.Arrays;
import java.util.List;
/**
* AccessLogProperties
*
* @author xm.z
*/
@Data
@ConfigurationProperties(prefix = AccessLogProperties.PREFIX)
public class AccessLogProperties {
public static final String PREFIX = "log.access";
/**
* 开启 access log 的记录
*/
private boolean enabled = true;
/**
* 忽略的Url匹配规则,Ant风格
*/
private List ignoreUrlPatterns = Arrays.asList("/actuator/**", "/webjars/**", "/favicon.ico",
"/swagger-ui/**");
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy