Quantcast
Channel: Active questions tagged redis+java - Stack Overflow
Viewing all articles
Browse latest Browse all 2231

Message converting to binary values whie logging to redis using log4j

$
0
0

These are the settings in the log4jproperties fileThe redis appender is by crab2died

`

log4j.appender.redis=com.github.log4j.RedisAppenderlog4j.appender.redis.layout=org.apache.log4j.PatternLayoutlog4j.appender.redis.layout.ConversionPattern=%-5p %d{yyyy-MM-dd HH:mm:ss} [%1] %m%nlog4j.appender.redis.layout.logFormatFeature=com.github.formatlog4j.appender.redis.layout.dateFormatter=yyyy-MM-dd'T'HH:mm:ss.SSS'+0800'

`This is how the printed data on rdb looks like in redisenter image description here


Viewing all articles
Browse latest Browse all 2231

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>