-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* remove: application-api.yml 제거 및 .gitignore 수정 * chore: slack appender 의존성 추가 * feat: logback.xml 추가 * chore: .gitignore 범위 수정
- Loading branch information
1 parent
2eb82a2
commit 484a12f
Showing
6 changed files
with
55 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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 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 was deleted.
Oops, something went wrong.
This file contains 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,42 @@ | ||
<configuration> | ||
<include resource="org/springframework/boot/logging/logback/defaults.xml"/> | ||
|
||
<springProfile name="local"> | ||
<include resource="org/springframework/boot/logging/logback/console-appender.xml"/> | ||
<root level="INFO"> | ||
<appender-ref ref="CONSOLE"/> | ||
</root> | ||
</springProfile> | ||
|
||
<springProfile name="dev"> | ||
<property resource="application-api.yml"/> | ||
<springProperty name="SLACK_WEBHOOK_URL" source="logging.slack.webhook-url.dev"/> | ||
<appender name="SLACK" class="com.github.maricn.logback.SlackAppender"> | ||
<webhookUri>${SLACK_WEBHOOK_URL}</webhookUri> | ||
<channel>패키-서버-에러-dev</channel> | ||
<layout class="ch.qos.logback.classic.PatternLayout"> | ||
<pattern>%date %-5level - %msg%n</pattern> | ||
</layout> | ||
<colorCoding>true</colorCoding> | ||
</appender> | ||
|
||
<appender name="Console" class="ch.qos.logback.core.ConsoleAppender"> | ||
<encoder> | ||
<Pattern>${CONSOLE_LOG_PATTERN}</Pattern> | ||
<charset>utf8</charset> | ||
</encoder> | ||
</appender> | ||
|
||
<appender name="ASYNC_SLACK" class="ch.qos.logback.classic.AsyncAppender"> | ||
<appender-ref ref="SLACK"/> | ||
<filter class="ch.qos.logback.classic.filter.ThresholdFilter"> | ||
<level>ERROR</level> | ||
</filter> | ||
</appender> | ||
|
||
<root level="INFO"> | ||
<appender-ref ref="Console"/> | ||
<appender-ref ref="ASYNC_SLACK"/> | ||
</root> | ||
</springProfile> | ||
</configuration> |
This file contains 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 @@ | ||
insert into profile_image (img_url) | ||
values ('https://i.namu.wiki/i/ColQt99Ihs3__vEx5_WU-suvLoublbI759tqUZXkR5S0Mw7mdPUetnOC5apdIiA3W-6_1pHgHGt_jW0vawnoprvckgMI4BnZW_M6knOfsmE4EY-Wh3fB9Sqvw1cZcOepAs2H66LIT71GAVhX084JIg.webp'), | ||
('https://i.namu.wiki/i/VM0HKbO6P_3h9UAkcpkdrAuh5u9u4do8Zk_jzH2ogoR3tPZzDJMPjaPJFfQhfljQs79HulYqbnyxhhcsuFMtclynGmVWv4cWdWBHmRoN3i65ATyUmma-g63f5csVFc0JMqeIUisGaD_f6D83kMvBbg.webp'), | ||
('https://i.namu.wiki/i/T-5Ct-xiiSTe9IziaMTWTHG9Y4s6HyFmvgMpBirXQ4iXI2J2V-vpeKbZTbNdEy9nXDObh4yxmDxWnsEDjThQ0s0N2ugFCBi0yPpsNPdaotA_snhfODPyhgYswKlpIAIUR3sS9c92LeKk-L4CGwzTjA.webp'), | ||
('https://i.namu.wiki/i/b4FeNnpcwDt7ySrOmx-JNbcNzfTaPD4bFTy4drseaA5t0-gzSuoBrqSHM_cA56yGUOUSBvATYYQkQpMJ-Gs6zKqv0BzajruwccEDhy1Gpt5JjWBB3EP7Rhnofxpd6nnRXDq4mi3iiLQEHe2uhZUO6Q.webp'); | ||
|
Submodule packy-submodule
updated
from cd701a to 6a5366