rahuldausa / scribe-log4j-appender Goto Github PK
View Code? Open in Web Editor NEWThis project forked from lenn0x/scribe-log4j-appender
Generic log4j appender that uses Scribe for sending log messages
License: Other
This project forked from lenn0x/scribe-log4j-appender
Generic log4j appender that uses Scribe for sending log messages
License: Other
Scribe log4j Appender ==================================== Much of this work is based on Alex Loddengaard (http://github.com/alexlod/scribe-log4j-appender). I cleaned up his code to work in non-hadoop environments. I added support to reconnect if it loses a connection or if scribe goes away. You will need the following libraries for your project, which are in lib/ folder for convenience: ./lib/libthrift-r808609.jar ./lib/log4j-1.2.15.jar ./lib/slf4j-api-1.5.8.jar ./lib/slf4j-log4j12-1.5.8.jar Example to enable in log4j: # Add scribe to end of rootLogger: log4j.rootLogger=DEBUG,stdout,scribe # # Add this to your log4j.properties # # You can adjust the scribe_host and scribe_port you want messages sent to by setting # scribe_host and scribe_port # # You can also set the hostname if you do not want to rely on Java picking the correct hostname log4j.appender.scribe=org.apache.log4j.scribe.ScribeAppender log4j.appender.scribe.scribe_category=MyScribeCategoryName log4j.appender.scribe.DatePattern='.'yyyy-MM-dd-HH log4j.appender.scribe.layout=org.apache.log4j.PatternLayout log4j.appender.scribe.layout.ConversionPattern=%5p [%t] %d{ISO8601} %F (line %L) %m%n
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.