{"repo":"vy/log4j2-redis-appender","free":true,"listed":false,"github":"https://github.com/vy/log4j2-redis-appender","clone":"git clone https://github.com/vy/log4j2-redis-appender.git","description":"A Log4j 2 Appender for Redis.","language":"Java","stars":35,"topics":["redis","java","log4j2","logging"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"RedisAppender plugin provides a Log4j 2.x appender for Redis in-memory data structure store. The plugin uses Jedis as a client for Redis. Usage Add the log4j2-redis-appender dependency to your POM file together with a valid log4j-core dependency: Below you can find a sample log4j2.xml snippet employing RedisAppender . One can make RedisAppender work against a sentinel setup using sentinelNodes and sentinelMaster parameters: Note that sentinelNodes and sentinelMaster have priority over host and port parameters. RedisAppender is configured with the following parameters: Parameter Name Type Default Description ---------------- ------ --------- ------------- charset String UTF-8 output charset database int 0 Redis logical database key String Redis queue key host String localhost Redis host port int 6379 Redis port sentinelNodes String null Redis sentinel nodes as comma-separated list, e.g., host1:port1,host2:port2 . If specified, host and port parameters are ignored. sentinelMaster String null Redis sentinel master name username String default Redis username password String null Redis password command String rpush Redis command for writing to the queue. Accepts rpush (default) and publish . connectionTimeoutSeconds int 2 initial connection timeout in seconds socketTimeoutSeconds int 2 socket timeout in seconds ignoreExceptions boolean true Enabling causes exceptions encountered while appending events to be internally logged and then ignored. When set to false, exceptions will be ","default_branch":null,"files":null,"tree":[],"storefront":"/r/vy","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vy/log4j2-redis-appender/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}