This repository has been archived by the owner on Aug 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
juhap/log4j2loggly
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Log4j log appender implementation that connects to loggly. It doesn't yet work properly as multiple and concurrent calls to loggly often block and fail with "SSLHandshakeException: Remote host closed connection during handshake". Working on it... Usage: 1. Build it 2. Add it to your project 3. Configure it like so: log4j.rootLogger=loggly # Loggly Logger log4j.appender.loggly=com.twentytwelve.log4j2loggly.LogglyAppender log4j.appender.loggly.threadCount=5 log4j.appender.loggly.queueSize=5000 log4j.appender.loggly.httpsProxyHost= log4j.appender.loggly.httpsProxyPort= log4j.appender.loggly.logglyUrl=https://logs.loggly.com/inputs/ log4j.appender.loggly.logglyKey=your-key log4j.appender.loggly.layout=org.apache.log4j.PatternLayout log4j.appender.loggly.layout.ConversionPattern=%d [%t] %-5p %m {at %c.%M(%F:%L)}%n
About
Log4j appender hitting HTTP loggly input without going via syslog
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published