Skip to content

d0k1/log4jmongo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Log4mongo

Source code on GitHub

Description

This library provides Log4J Appender [1] that writes log events to the MongoDB document oriented database [2]. This library based on http://github.com/log4mongo/log4mongo-java [3].

  • MongoDbAppender - Stores a BSONed version of the Log4J LoggingEvent

Authors

  • Denis Kirpichenkov

Original Library authors

Pre-requisites

  • JDK 1.7+
  • MongoDB Server v3.0+
  • MongoDB Java Driver v3.0+
  • Log4J 1.2+

Maven usage

First of all add a repository to pom.xml

<repositories>
	<repository>
    	<id>jitpack.io</id>
    	<url>https://jitpack.io</url>
	</repository>
</repositories>

Then, add dependecy

<dependency>
    <groupId>com.github.d0k1</groupId>
    <artifactId>log4jmongo</artifactId>
    <version>1.5</version>
</dependency>

If you want you may see build logs here https://jitpack.io/com/github/d0k1/log4jmongo/1.0/build.log

#Repository contents This repository contains log4appender, appender usage example, and multiline log4 log file parser.

References

Bitdeli Badge

About

Log4j appender to MongoDB 3.0+

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages