Re: How to control NiFi logging

2016-06-08 Thread Andre
Stephane, Please upload both your bootstrap and logback configuration files to a gist or pastebin so we can have a look. Cheers On Wed, Jun 8, 2016 at 11:50 AM, Stéphane Maarek wrote: > Hi Andrew, > > Thanks for the quick response. Sorry stuff isn't obvious just

Re: How to control NiFi logging

2016-06-07 Thread Stéphane Maarek
Hi Andrew, Thanks for the quick response. Sorry stuff isn't obvious just yet. Please bear with me I copied the file you indicated to my logback.xml and didn't change a thing In bootstrap.conf, I added the following: org.apache.nifi.bootstrap.config.log.dir=/mnt/xvdf/logs Now on start of NiFi,

Re: How to control NiFi logging

2016-06-07 Thread Andre
Stephane, There are two settings controlling each individual log. The sections are clearly commented within logback settings You can read the instance in your logback.xml or read the one available online

Re: How to control NiFi logging

2016-06-07 Thread Stéphane Maarek
Hi Andrew, It looks like the settings don't work. only the main logs go to the indicated folder, the other dated files still go to my internal log folder... ls /mnt/xvdf/logs nifi-app.log nifi-bootstrap.log nifi-user.log ls ~/nifi/logs/ nifi-app_2016-06-06_16.0.log

Re: How to control NiFi logging

2016-06-06 Thread Pat Trainor
No wonder it looked like log4j! That's some pretty slick stuff, right there! On Jun 6 2016, at 8:06 am, Andrew Psaltis psaltis.and...@gmail.com wrote: > Hi Pat, > > It is all standard logback, described here:

Re: How to control NiFi logging

2016-06-06 Thread Pat Trainor
Andrew, Is any of this not standard log4j, and nifi-specific? On Jun 6, 2016 2:34 AM, "Andrew Psaltis" wrote: > You are correct, sorry about that Stephane! > > On Mon, Jun 6, 2016 at 8:23 AM, Stéphane Maarek > wrote: > >> Actually, it seems

Re: How to control NiFi logging

2016-06-06 Thread Stéphane Maarek
Hi Andrew, After changing the file I'm getting the following error. I changed the lines you indicated. Failed to auto configure default logger context Reported exception: ch.qos.logback.core.joran.spi.JoranException: Problem parsing XML document. See previously reported errors. at

Re: NiFi logging

2016-02-11 Thread Andrew Grande
@nifi.apache.org<mailto:users@nifi.apache.org>" <users@nifi.apache.org<mailto:users@nifi.apache.org>> Subject: Re: NiFi logging Thanks for your feedback Andy. I am looking to log the general events taking place in data flow to track my data at a later stage. Say I have

Re: NiFi logging

2016-02-11 Thread Joe Witt
ing-tasks > > From: sudeep mishra <sudeepshekh...@gmail.com> > Reply-To: "users@nifi.apache.org" <users@nifi.apache.org> > Date: Wednesday, February 10, 2016 at 11:59 PM > To: "users@nifi.apache.org" <users@nifi.apache.org> > Subject: Re: NiFi logging &

Re: NiFi logging

2016-02-10 Thread Andy LoPresto
e recommend using SLF4J, but if you have a requirement to use Log4j, you can use an adapter as described here [4]. [1] https://github.com/apache/nifi/blob/3a7ddc6a35f143c1d4a735226fe7467a83d04583/nifi-api/src/main/java/org/apache/nifi/logging/ComponentLog.java [2] https://github.com/apache/nifi/blob/

NiFi logging

2016-02-10 Thread sudeep mishra
Hi, What is the preferred practice for logging details for NiFi data flow? How can I use my own logging using log4j to log custom details for NiFi data flow. Thanks & Regards, Sudeep

Re: NiFi logging

2016-02-10 Thread sudeep mishra
ith some interpolation key=someKey, value=someValue > ``` > > We recommend using SLF4J, but if you have a requirement to use Log4j, you > can use an adapter as described here [4]. > > [1] > https://github.com/apache/nifi/blob/3a7ddc6a35f143c1d4a735226fe7467a83d04583/nifi-api/src/