Skip to content

Commit 07c5354

Browse files
authored
Merge pull request #267 from Modagbul/main
[release] 로그 모니터링을 위한 gradle 의존성 추가
2 parents b952246 + b053efc commit 07c5354

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

build.gradle

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,13 @@ dependencies {
9797
//json
9898
implementation 'com.fasterxml.jackson.core:jackson-databind:2.12.3'
9999

100+
//log
101+
implementation 'org.springframework.boot:spring-boot-starter-logging'
102+
103+
implementation("org.springframework.boot:spring-boot-starter-actuator")
104+
implementation("io.micrometer:micrometer-registry-prometheus") // 프로메테우스 마이크로미터
105+
106+
100107
}
101108

102109
tasks.named('test') {

src/main/java/com/moing/backend/global/config/security/SecurityConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ protected void configure(HttpSecurity http) throws Exception {
5252
.antMatchers("/swagger-ui/**").permitAll()
5353
.antMatchers("/webjars/**").permitAll()
5454
.antMatchers("/v3/api-docs").permitAll()
55-
.antMatchers("/api/auth/**", "/docs/**", "/api/image/**").permitAll()
55+
.antMatchers("/api/auth/**", "/docs/**", "/api/image/**", "/actuator", "/actuator/*").permitAll()
5656
.anyRequest().authenticated()
5757
.and()
5858
.apply(new JwtSecurityConfig(tokenUtil, memberQueryService));

0 commit comments

Comments
 (0)