refactor: favicon.ico 로그 출력 제외

MessageSource javadoc 추가
dev
gitea-관리자 1 year ago
parent 0c65d908ad
commit 05f9c76134

@ -15,7 +15,7 @@ app:
log:
request:
# exclude pattern : CommonsRequestLoggingFilter && LoggingFilter 적용
exclude-patterns: '/swagger-ui/(.*), /api-docs/(.*)'
exclude-patterns: /swagger-ui/(.*), /api-docs/(.*), /favicon.ico
custom-enabled: false
# CommonsRequestLoggingFilter 사용 parameter 로그 출력
common-enabled: false

@ -15,7 +15,7 @@ app:
log:
request:
# exclude pattern : CommonsRequestLoggingFilter && LoggingFilter 적용
exclude-patterns: '/swagger-ui/(.*), /api-docs/(.*)'
exclude-patterns: /swagger-ui/(.*), /api-docs/(.*), /favicon.ico
custom-enabled: false
# CommonsRequestLoggingFilter 사용 parameter 로그 출력
common-enabled: false

@ -1,5 +1,6 @@
package kr.xit.core.spring.config;
import egovframework.com.cmm.EgovMessageSource;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
@ -174,7 +175,13 @@ public class WebMvcConfig implements WebMvcConfigurer {
/**
* @return [Resource ] Properties
* <pre>
* Reloadable
* - load : properties[spring.memssages.basename]
*
* @return ReloadableResourceBundleMessageSource
* </pre>
* @see EgovMessageSource
*/
@Bean
public ReloadableResourceBundleMessageSource messageSource() {

Loading…
Cancel
Save