Skip to content

Commit

Permalink
refactor: ElasticSearch, Logstash, Kibana, Kafka 삭제 (#755)
Browse files Browse the repository at this point in the history
* refactor: 카프카 로그 Appender 사용 중단

* refactor: infra-appender 서브모듈 삭제

* refactor: logstash appender 삭제

* chore: Kafka Appender 의존성 제거
  • Loading branch information
tributetothemoon authored Jan 7, 2022
1 parent 8c09887 commit 550d1e9
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 27 deletions.
4 changes: 0 additions & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
path = s3proxy/src/main/resources/s3proxy-config
url = git@github.com:zzimkkong/s3proxy-config.git
branch = main
[submodule "backend/src/main/resources/infra-appender"]
path = backend/src/main/resources/infra-appender
url = git@github.com:zzimkkong/infra-appender.git
branch = main
[submodule "s3proxy/src/main/resources/config"]
path = s3proxy/src/main/resources/config
url = git@github.com:zzimkkong/config.git
Expand Down
3 changes: 0 additions & 3 deletions backend/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,6 @@ dependencies {
// Logstash
implementation 'net.logstash.logback:logstash-logback-encoder:6.6'

// Kafka Appender
implementation 'com.github.danielwegener:logback-kafka-appender:0.2.0-RC2'

// Reflections
implementation 'org.reflections:reflections:0.9.11'
}
Expand Down

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion backend/src/main/resources/infra-appender
Submodule infra-appender deleted from 1a4ed4
5 changes: 0 additions & 5 deletions backend/src/main/resources/logback-spring.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,13 @@
</springProfile>

<springProfile name="dev">
<include resource="infra-appender/kafka-appender-dev.xml"/>
<include resource="appenders/slack-appender.xml"/>

<include resource="appenders/async-file-appender-error.xml"/>
<include resource="appenders/async-file-appender-warn.xml"/>

<root level="INFO">
<appender-ref ref="ASYNC_CONSOLE_APPENDER"/>
<appender-ref ref="KAFKA_APPENDER_DEV"/>
<appender-ref ref="ASYNC_SLACK_DEV"/>

<appender-ref ref="ASYNC_FILE_APPENDER_ERROR"/>
Expand All @@ -41,21 +39,18 @@
</springProfile>

<springProfile name="prod">
<include resource="infra-appender/kafka-appender-prod.xml"/>
<include resource="appenders/slack-appender.xml"/>

<include resource="appenders/async-file-appender-error.xml"/>
<include resource="appenders/async-file-appender-warn.xml"/>

<root level="INFO">
<appender-ref ref="ASYNC_CONSOLE_APPENDER"/>
<appender-ref ref="KAFKA_APPENDER_PROD"/>
<appender-ref ref="ASYNC_SLACK_PROD"/>

<appender-ref ref="ASYNC_FILE_APPENDER_ERROR"/>
<appender-ref ref="ASYNC_FILE_APPENDER_WARN"/>
</root>
</springProfile>


</configuration>

0 comments on commit 550d1e9

Please sign in to comment.