Skip to content

Commit

Permalink
Merge pull request #201 from Re-4aliens/feat/#196_elk-stack
Browse files Browse the repository at this point in the history
feat(logback) : JSON 형식 출력으로 변경
  • Loading branch information
suhyun0918 authored Oct 19, 2024
2 parents 4685d12 + 93d1731 commit 129ee07
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/resources/logback-spring.xml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,9 @@
<!-- Logstash 로깅 -->
<appender name="LOGSTASH" class="net.logstash.logback.appender.LogstashTcpSocketAppender">
<destination>logstash:50000</destination>
<encoder class="net.logstash.logback.encoder.LogstashEncoder" />
<encoder class="net.logstash.logback.encoder.LogstashEncoder">
<prettyPrint>true</prettyPrint>
</encoder>
</appender>

<springProfile name="dev">
Expand Down

0 comments on commit 129ee07

Please sign in to comment.