-
Notifications
You must be signed in to change notification settings - Fork 2
NaiveRedis PubSub 使用说明
heimuheimu edited this page Nov 27, 2019
·
4 revisions
# Redis Pub 信息日志
log4j.logger.NAIVEREDIS_PUBLISHER_LOG=INFO, NAIVEREDIS_PUBLISHER_LOG
log4j.additivity.NAIVEREDIS_PUBLISHER_LOG=false
log4j.appender.NAIVEREDIS_PUBLISHER_LOG=org.apache.log4j.DailyRollingFileAppender
log4j.appender.NAIVEREDIS_PUBLISHER_LOG.file=${log.output.directory}/naiveredis/publisher.log
log4j.appender.NAIVEREDIS_PUBLISHER_LOG.encoding=UTF-8
log4j.appender.NAIVEREDIS_PUBLISHER_LOG.DatePattern=_yyyy-MM-dd
log4j.appender.NAIVEREDIS_PUBLISHER_LOG.layout=org.apache.log4j.PatternLayout
log4j.appender.NAIVEREDIS_PUBLISHER_LOG.layout.ConversionPattern=%d{ISO8601} %-5p [%F:%L] : %m%n