Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ add log monitoring dashboard #131

Merged
merged 4 commits into from
Aug 1, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions backend/src/main/resources/logback-spring.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
<property name="LOKI_URL" value="http://localhost:3100/loki/api/v1/push"/>
</springProfile>

<springProfile name="test">
<property name="LOKI_URL" value="http://localhost:3100/loki/api/v1/push"/>
</springProfile>

Comment on lines +7 to +10
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

테스트를 위한 부분도 추가해주어야 하는군요 👍🏻

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

테스트할 때의 로그는 수집하지 않지만 없을 경우 아래쪽 ${LOKI_URL} 을 읽지를 못하여 ContextLoad 에 실패하더군요. 그래서 더미 값을 추가했습니다!

<springProfile name="dev">
<property name="LOKI_URL" value="http://loki:3100/loki/api/v1/push"/>
</springProfile>
Expand Down
Loading