-
Notifications
You must be signed in to change notification settings - Fork 0
AWS CloudWatch 로깅 시스템 추가 #45
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
Open
minibr
wants to merge
6
commits into
main
Choose a base branch
from
feature/#44-add-logging
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
8bd2890
chore: Issue&PR 템플릿 추가
Goder-0 5bc71d0
fix: 중복 워크플로우 하나로 통합 (#20)
minibr d378f40
fix: checkstyle 상대 경로 수정
ckdals4600 47ad197
feat: Jpa 주석 해제 및 H2 설정 추가 (#37)
ckdals4600 a5e073a
feat: Swagger 설정 추가 (#24)
ckdals4600 4974326
feat: AWS CloudWatch 로깅 시스템 추가 (#44)
minibr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| name: "🐛 Bug" | ||
| description: "버그 이슈" | ||
| type: Bug | ||
| projects: [ "Team-SoFa/4" ] | ||
| body: | ||
| - type: textarea | ||
| attributes: | ||
| label: 버그 내용 | ||
| description: 버그 사항에 대한 설명을 작성해 주세요. | ||
| placeholder: 자세히 적을수록 좋습니다! | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: textarea | ||
| attributes: | ||
| label: 버그 재현 방법 | ||
| description: 버그를 발생시키려면 어떻게 해야 하는지 적어주세요. | ||
| placeholder: 자세히 적을수록 좋습니다! | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: textarea | ||
| attributes: | ||
| label: 참고 자료 | ||
| description: 참고 자료가 있다면 작성해 주세요. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| name: "✨ Feature" | ||
| description: "새로운 기능 추가" | ||
| type: "Feature" | ||
| projects: [ "Team-SoFa/4" ] | ||
| body: | ||
| - type: textarea | ||
| attributes: | ||
| label: 이슈 배경 | ||
| description: 새로운 기능을 도입하는 배경을 작성해주세요. | ||
| placeholder: 자세히 적을수록 좋습니다! | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: textarea | ||
| attributes: | ||
| label: 이슈 내용 | ||
| description: 새로운 기능에 대한 설명을 작성해 주세요. (구현 방법/ 동작 방식 등) | ||
| placeholder: 자세히 적을수록 좋습니다! | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: textarea | ||
| attributes: | ||
| label: 참고 자료 | ||
| description: 참고 자료가 있다면 작성해 주세요. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| name: "✨ Task" | ||
| description: "가장 최소한의 양식" | ||
| type: "Task" | ||
| projects: ["Team-SoFa/4"] | ||
| body: | ||
| - type: textarea | ||
| attributes: | ||
| label: 이슈 배경 | ||
| description: 작업 내용 or 논의 내용의 배경을 작성해주세요. | ||
| placeholder: 자세히 적을수록 좋습니다! | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: textarea | ||
| attributes: | ||
| label: 📄 작업 내용 or 논의 내용 | ||
| description: 설명을 작성해 주세요. | ||
| placeholder: 자세히 적을수록 좋습니다! | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: textarea | ||
| attributes: | ||
| label: 🙋🏻 참고 자료 | ||
| description: 참고 자료가 있다면 작성해 주세요. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| ## 관련 이슈 | ||
|
|
||
| - close #번호 | ||
|
|
||
| ## PR 설명 | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <configuration packagingData="true"> | ||
|
|
||
| <!-- CloudWatch Appender --> | ||
| <appender name="aws_cloud_watch_log" class="ca.pjer.logback.AwsLogsAppender"> | ||
| <layout> | ||
| <pattern>[%thread] [%date] [%level] [%file:%line] - %msg%n</pattern> | ||
| </layout> | ||
| <logGroupName>/aws/linkiving/application</logGroupName> | ||
| <logStreamUuidPrefix>linkiving-server</logStreamUuidPrefix> | ||
| <logRegion>ap-northeast-2</logRegion> | ||
| <maxBatchLogEvents>50</maxBatchLogEvents> | ||
| <maxFlushTimeMillis>30000</maxFlushTimeMillis> | ||
| <maxBlockTimeMillis>5000</maxBlockTimeMillis> | ||
| <retentionTimeDays>30</retentionTimeDays> | ||
| <accessKeyId>${AWS_ACCESS_KEY_ID}</accessKeyId> | ||
| <secretAccessKey>${AWS_SECRET_ACCESS_KEY}</secretAccessKey> | ||
| </appender> | ||
|
|
||
| <appender name="console_log" class="ch.qos.logback.core.ConsoleAppender"> | ||
| <encoder> | ||
| <pattern>%highlight(%-5level) %date [%thread] %cyan([%C{0} :: %M :: %L]) - %msg%n</pattern> | ||
| </encoder> | ||
| </appender> | ||
|
|
||
| <springProfile name="!prod"> | ||
| <root level="INFO"> | ||
| <appender-ref ref="console_log"/> | ||
| </root> | ||
| </springProfile> | ||
|
|
||
| <springProfile name="prod"> | ||
| <root level="INFO"> | ||
| <appender-ref ref="console_log"/> | ||
| <appender-ref ref="aws_cloud_watch_log"/> | ||
| </root> | ||
| </springProfile> | ||
|
|
||
| <root level="INFO"> | ||
| <appender-ref ref="console_log"/> | ||
| </root> | ||
Goder-0 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| </configuration> | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.