Skip to content

Commit a4d58ba

Browse files
committed
fix: logback의 loki 관련 설정 수정
- logback-spring.xml 파일의 loki appender 내부 url의 환경변수화
1 parent 7fcd5ef commit a4d58ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/resources/logback-spring.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<appender name="LOKI" class="com.github.loki4j.logback.Loki4jAppender">
3232

3333
<http>
34-
<url>http://loki:3100/loki/api/v1/push</url>
34+
<url>${LOKI_URL}</url>
3535
<connectionTimeoutMs>30000</connectionTimeoutMs>
3636
<requestTimeoutMs>15000</requestTimeoutMs>
3737
<maxRetries>3</maxRetries>

0 commit comments

Comments
 (0)