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

feat: 슬랙 알림 채널 연동 #91

Merged
merged 4 commits into from
Nov 10, 2024
Merged

Conversation

songyi00
Copy link
Member

@songyi00 songyi00 commented Nov 10, 2024

Issue Number

close: #90

작업 개요

서버 에러 발생 또는 재구동시 슬랙 알림 연동

작업 사항

여기에 작성하세요

고민한 점들(필수 X)

여기에 작성하세요

스크린샷(필수 X)

여기에 작성하세요

Copy link
Collaborator

@kimyu0218 kimyu0218 left a comment

Choose a reason for hiding this comment

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

수고하셨습니다 👏 👏
이제 슬랙 보고 서버 제대로 돌아가는지 확인하면 되겠네요 ㅎㅎ

@@ -60,6 +60,9 @@ dependencies {
// firebase
implementation 'com.google.firebase:firebase-admin:9.3.0'

// slack
implementation 'com.github.maricn:logback-slack-appender:1.6.1'
Copy link
Collaborator

Choose a reason for hiding this comment

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

👏 👏

String banner = String.format("GoalpanziApplication started (profile=%s, port=%s)", profile, serverPort);
System.out.println(banner);
LoggerFactory.getLogger("ServerBoot").info(banner);
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

👍 👍

@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<include resource="properties.xml"/>
<include resource="appenders/slack-appender.xml"/>
Copy link
Collaborator

Choose a reason for hiding this comment

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

👍 👍

@songyi00 songyi00 merged commit 2077ef2 into develop Nov 10, 2024
1 check passed
@songyi00 songyi00 deleted the feat/#90-slack-appender branch November 10, 2024 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

슬랙 로그 모니터링 알람 추가
2 participants