RE: Log4J2 NoSQL query

2015-07-23 Thread David Lee
om http://www.xmlsh.org -Original Message- From: Ralph Goers [mailto:[email protected]] Sent: Wednesday, July 22, 2015 11:24 PM To: Log4J Users List Subject: Re: Log4J2 NoSQL query I agree with what you are saying here, but there is one other thing I would like to add. One of my moti

Re: Log4J2 NoSQL query

2015-07-22 Thread Ralph Goers
I agree with what you are saying here, but there is one other thing I would like to add. One of my motivations for starting work on Log4j 2 was that my employer had a need for a very flexible audit logging system. Most applications I am aware of do their auditing to a database. However, we w

Re: Log4J2 NoSQL query

2015-07-22 Thread David Lee
> >> Our idea is to build a central logging system just by using Log4 and doing >> away with forwarders and queues. > > Don't ypu notice that your giving your own answer? Use of a forwarder > and a queue is (IMO) the obvious choice for a central logging system, > based on existing components, an

Re: Log4J2 NoSQL query

2015-07-22 Thread Jochen Wiedmann
On Wed, Jul 22, 2015 at 8:01 AM, kusmanjali wrote: > 1. Most of the logging frame works use a log forwarder + queue > mechanism(Logstash, Fluectd) to store logs into database. What is the > advantage of using this over using Log4j NoSQL appenders to write directly > to the database. > Our idea is

Re: Log4J2 NoSQL query

2015-07-21 Thread Ralph Goers
I am not familiar with Logstash or Fluentd, but I am familiar with Apache Flume. Log4j 2 provides capabilities to write directly to a SQL or some NoSQL databases. Some users prefer to do this, but it does have some risk as to what to do if the target destination becomes unavailable. As Remko po

Re: Log4J2 NoSQL query

2015-07-21 Thread Remko Popma
Hi, I am not familiar with Logstash and Fluectd, but in general I would assume that most databases may not be able to keep up with log events during a burst, and these mechanisms provide a persisted queue where your log events can be recovered from in case the process or box crashed before all

Log4J2 NoSQL query

2015-07-21 Thread kusmanjali
1. Most of the logging frame works use a log forwarder + queue mechanism(Logstash, Fluectd) to store logs into database. What is the advantage of using this over using Log4j NoSQL appenders to write directly to the database. 2. Any material/link to get more insight into how log4j2 handles the data