logappender to redis-server

This commit is contained in:
Szakalakamaka
2020-09-22 10:18:27 +02:00
parent d4579f0707
commit 4af79721f4
3 changed files with 23 additions and 15 deletions

View File

@@ -3,8 +3,7 @@
<include resource="org/springframework/boot/logging/logback/base.xml"/>
<!--https://github.com/kmtong/logback-redis-appender-->
<appender name="LOGSTASH" class="com.release11.klaus.utilis.RedisAppender">
<host>localhost
</host>
<host>redis-server</host>
<port>6379</port>
<key>logstash</key>
<layout class="ch.qos.logback.classic.PatternLayout">