Re: greedy Flume appender

2017-06-20 Thread Martin Bobák
talina.home}/lib/. In this file I have several rolling file appenders > > configured. Everything works fine until I add flume appender. All rolling > > appender files have length 0 bytes and no data are written whatsoever > after > > adding flum

Re: greedy Flume appender

2017-06-20 Thread Ralph Goers
cat 8.5.15 with log4j-2.8.2. I keep log4j2.xml [1] in > ${catalina.home}/lib/. In this file I have several rolling file appenders > configured. Everything works fine until I add flume appender. All rolling > appender files have length 0 bytes and no data are written whatsoever after > ad

greedy Flume appender

2017-06-20 Thread Martin Bobák
Hello folks. I'm using Tomcat 8.5.15 with log4j-2.8.2. I keep log4j2.xml [1] in ${catalina.home}/lib/. In this file I have several rolling file appenders configured. Everything works fine until I add flume appender. All rolling appender files have length 0 bytes and no data are written whatsoever

Re: Flume appender: Dependency problem when building with maven assembly plugin?

2016-05-11 Thread Ralph Goers
gt;>>> https://issues.apache.org/jira/browse/LOG4J2-673 < >>>> https://issues.apache.org/jira/browse/LOG4J2-673>. This last one has a >>>> solution in the middle of the discussion by way of a Transformer that >> can >>>> be

Re: Flume appender: Dependency problem when building with maven assembly plugin?

2016-05-11 Thread Matt Sicker
as a > >> solution in the middle of the discussion by way of a Transformer that > can > >> be used in the maven shade plugin. However, you are using the assembly > >> plugin, so I am not really sure how you can

Re: Flume appender: Dependency problem when building with maven assembly plugin?

2016-05-11 Thread Ralph Goers
rmer that can >> be used in the maven shade plugin. However, you are using the assembly >> plugin, so I am not really sure how you can do it that way. >> >> Ralph >> >> >> >> >>>>

Re: Flume appender: Dependency problem when building with maven assembly plugin?

2016-05-11 Thread Ralph Goers
by way of a Transformer that can >> be used in the maven shade plugin. However, you are using the assembly >> plugin, so I am not really sure how you can do it that way. >> >> Ralph >> >> >> >> >>>>

Re: Flume appender: Dependency problem when building with maven assembly plugin?

2016-05-11 Thread Julian Keppel
can > be used in the maven shade plugin. However, you are using the assembly > plugin, so I am not really sure how you can do it that way. > > Ralph > > > > > > On May 4, 2016, at 12:43 PM, Julian Keppel <juliankeppel1...@gmail.com> > wrote: > &g

Re: Flume appender: Dependency problem when building with maven assembly plugin?

2016-05-11 Thread Julian Keppel
:43, Julian Keppel <juliankeppel1...@gmail.com> wrote: > > > Hi everyone, > > > > I tested the flume appender for log4j2. My configuration XML looks like > > this: > > > > > > > > ... > > > > > &

Re: Flume appender: Dependency problem when building with maven assembly plugin?

2016-05-04 Thread Ralph Goers
liankeppel1...@gmail.com> wrote: > > Hi everyone, > > I tested the flume appender for log4j2. My configuration XML looks like > this: > > > >... > > > > ... > > > > > > >

Re: Flume appender: Dependency problem when building with maven assembly plugin?

2016-05-04 Thread Matt Sicker
By uber jar, do you mean an all-in-one flat jar, or do you mean a jar of jars like spring boot artifacts? On 4 May 2016 at 14:43, Julian Keppel <juliankeppel1...@gmail.com> wrote: > Hi everyone, > > I tested the flume appender for log4j2. My configuration

Flume appender: Dependency problem when building with maven assembly plugin?

2016-05-04 Thread Julian Keppel
Hi everyone, I tested the flume appender for log4j2. My configuration XML looks like this: ... ... ... And I build my application with maven assembly plugin to get

Re: Flume Appender

2014-07-24 Thread jfloviou
Hi all, I'm digging out this Thread from December 2012 as i would like to get fresh thoughts on these questions. Before reading the discussion i was also hesitating between a Flume Embedded Agent or a Flume Appender after and Asynch Appender. Ralph performance output were very interesting but i

Re: Flume Appender

2014-07-24 Thread Ralph Goers
December 2012 as i would like to get fresh thoughts on these questions. Before reading the discussion i was also hesitating between a Flume Embedded Agent or a Flume Appender after and Asynch Appender. Ralph performance output were very interesting but i feel like he compared Embedded agent

Re: Flume Appender failure due to filesystem issue

2014-04-05 Thread Arkin Yetis
for this, otherwise the Flume Persistent Manager would need to deal with this condition. That would be a big change as the Database object is currently immutable. Ralph On Apr 4, 2014, at 12:04 PM, Arkin Yetis arkinye...@gmail.com wrote: We use the Flume Appender. Our logging stopped after

Re: Flume Appender failure due to filesystem issue

2014-04-05 Thread Ralph Goers
with this condition. That would be a big change as the Database object is currently immutable. Ralph On Apr 4, 2014, at 12:04 PM, Arkin Yetis arkinye...@gmail.com wrote: We use the Flume Appender. Our logging stopped after a certain point in time and we noticed the exception at the end

Flume Appender failure due to filesystem issue

2014-04-04 Thread Arkin Yetis
We use the Flume Appender. Our logging stopped after a certain point in time and we noticed the exception at the end of this message in our application logs. It looks like there was an issue with the filesystem. But although the filesystem has recovered, the appender (or probably the persistence

Re: Flume Appender failure due to filesystem issue

2014-04-04 Thread Ralph Goers
Persistent Manager would need to deal with this condition. That would be a big change as the Database object is currently immutable. Ralph On Apr 4, 2014, at 12:04 PM, Arkin Yetis arkinye...@gmail.com wrote: We use the Flume Appender. Our logging stopped after a certain point in time and we

Re: Log4j2 Custom Layout Flume Appender

2014-03-08 Thread Nicolas Bär
Specifying the package name in the packages attribute of the configuration element did the trick. Thanks! Nicolas On Fri, Mar 7, 2014 at 5:10 PM, Ralph Goers ralph.go...@dslextreme.comwrote: You made your layout a plugin? If so, make sure you specify its package name in the packages

Log4j2 Custom Layout Flume Appender

2014-03-07 Thread Nicolas Bär
Hi I'm trying to use Log4j2 to send certain log messages to Apache Flume. Flume should then push the messages to Elasticsearch in order to analyze the data with Kibana. The setup works fine using the JSONLayout, but this layout does not provide enough flexibility for my use case. Currently the

Re: Log4j2 Custom Layout Flume Appender

2014-03-07 Thread Ralph Goers
You made your layout a plugin? If so, make sure you specify its package name in the packages attribute of the configuration element. Then specify MyLayout attr1=“” attr2=“”/ Where MyLayout is the name you gave your Layout plugin and attr1 and attr2 are attributes you defined for the layout.

Re: Flume Appender

2012-12-28 Thread Ralph Goers
=true configured for the Flume appender. This is going to cause your log events to be gzipped and they will be written into HDFS in that format. That probably isn't what you want so you should change it to compress=false Ralph On Dec 28, 2012, at 2:16 AM, Pradeep Kanchgar wrote: Hi Ralph

Flume Appender

2012-12-27 Thread Pradeep Kanchgar
not on wrong track..!! Pradeep -Original Message- From: Ralph Goers [mailto:ralph.go...@dslextreme.com] Sent: Thursday, December 27, 2012 2:00 PM To: Log4J Users List Subject: Re: Flume Appender For information on Maven see http://maven.apache.org. It is a build tool used by lots

Re: Flume Appender

2012-12-27 Thread Ralph Goers
...@dslextreme.com] Sent: Thursday, December 27, 2012 2:00 PM To: Log4J Users List Subject: Re: Flume Appender For information on Maven see http://maven.apache.org. It is a build tool used by lots and lots of Java projects. Most of those other Appenders only have dependencies on the JDK

Flume Appender

2012-12-26 Thread Pradeep Kanchgar
Hi , I'm using flume Appender but getting the following error. 2012-12-26 19:08:41,566 ERROR Unable to invoke method createAppender in class org.apache.logging.log4j.flume.appender.FlumeAppender for element Flume java.lang.reflect.InvocationTargetException

RE: Flume Appender

2012-12-26 Thread Pradeep Kanchgar
Hi Ralph, I'm using this log4j2 for the first time. What is this maven? With log4j2 if I use other appenders like console or rollingfileappender it works fine. But in case of this flumeappender, I don't have much clarity. You mean to say in order to use flume appender I need all these jar

Re: Flume Appender

2012-12-04 Thread Ralph Goers
: http://apache-logging.6191.n7.nabble.com/Flume-Appender-tp7089p35073.html Sent from the Log4j - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional

Re: Flume Appender

2012-12-04 Thread Ralph Goers
in context: http://apache-logging.6191.n7.nabble.com/Flume-Appender-tp7089p35073.html Sent from the Log4j - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org

Re: Flume-Appender

2012-11-16 Thread Simon Monecke
This doesn't look like it has anything to do with the Flume Appender. Can you attach the jar, configuration and instructions and the source to a new Jira issue? Thanks. Ralph On Nov 14, 2012, at 2:54 AM, Simon Monecke wrote: Hi Ralph, thank you for your response, but now i have another

Re: Flume-Appender

2012-11-16 Thread Simon Monecke
...@dslextreme.com This doesn't look like it has anything to do with the Flume Appender. Can you attach the jar, configuration and instructions and the source to a new Jira issue? Thanks. Ralph On Nov 14, 2012, at 2:54 AM, Simon Monecke wrote: Hi Ralph, thank you for your response

Re: Flume-Appender

2012-11-14 Thread Simon Monecke
(LogManager.java:138) at de.simo.Log4j2FlumeEmbedded.main(Log4j2FlumeEmbedded.java:22) Can anybody create a very small project (just 1 message with a embedded agent) to show me what i have to do? :/ To use other appender is very easy, but the flume appender... thank you 2012/11/13 Ralph Goers

Re: Flume-Appender

2012-11-14 Thread Ralph Goers
This doesn't look like it has anything to do with the Flume Appender. Can you attach the jar, configuration and instructions and the source to a new Jira issue? Thanks. Ralph On Nov 14, 2012, at 2:54 AM, Simon Monecke wrote: Hi Ralph, thank you for your response, but now i have another

Re: Flume Appender

2012-10-26 Thread SimonMo
- Flume Appender - Asynch Appender - 2nd Flume Appender with other host So i have a big secure Appender. Sorry for that question, but i only read in the manual about the advantages of each appender. Why i shouldn't build such a failvoer-async-flame-appender? Regards

Flume Appender

2012-10-25 Thread SimonMo
Hi, does anybody know how stable is the flume appender embedded? I have a network with nodes logging 20.000 logs/sec and i want to use Log4j 2 - Flume - Elasticsearch. Is this a good approach? I could use additionally a FailoverAppender to get my logs on a second route to my server... hmm, i'm

Re: Flume Appender

2012-10-25 Thread Christian Grobmeier
would be VERY happy to hear about your experiences with your approach. Cheers Christian On Thu, Oct 25, 2012 at 3:34 PM, SimonMo simonmone...@gmail.com wrote: Hi, does anybody know how stable is the flume appender embedded? I have a network with nodes logging 20.000 logs/sec and i want to use

Re: Flume Appender

2012-10-25 Thread Ralph Goers
the Flume Appender and we recently did some performance testing. The chart below shows the result of a single application writing the specified number of events. The application and remote agents are running in VMs, which is not going to yield the best performance Flume has to offer. However, our