Logback 与 Redis 和 ELK,搭建好了之后,Logback并未将日志写入Redis中,也没有出现异常
曾经蜡笔没有小新
曾经蜡笔没有小新 2017-04-26 09:01:27
0
3
985

logback配置

<appender name="LOGSTASH" class="com.cwbase.logback.RedisAppender">
    <source>gridsys</source>
    <type>dev</type>
    <host>127.0.0.1</host>
    <key>logstash</key>
    <tags>dev</tags>
    <mdc>true</mdc>
    <location>true</location>
    <callerStackIndex>0</callerStackIndex>
</appender>

无数据写入Redis,ELK运行时正常的,项目连接Redis未出现异常,求大神帮忙

曾经蜡笔没有小新
曾经蜡笔没有小新

reply all(3)
仅有的幸福

Logback will not be written directly into redis. First configure logstash and configure the writing of redis data in its output

迷茫

Ask the poster, can logback be output directly to the redis queue?

淡淡烟草味

I also encountered this problem, has the poster solved it?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template