nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From St├ęphane Maarek <stephane.maa...@gmail.com>
Subject Re: How to control NiFi logging
Date Wed, 08 Jun 2016 01:50:13 GMT
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, the logging still doesn't work, and I'm getting the
following folder in my nifi root:
org.apache.nifi.bootstrap.config.log.dir_IS_UNDEFINED

Can you please help?

regards,
Stephane

On Wed, Jun 8, 2016 at 11:07 AM Andre <andre-lists@fucs.org> wrote:

> 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
>
>
> https://github.com/apache/nifi/blob/0.x/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/conf/logback.xml
>
> Cheers
>
> On Wed, Jun 8, 2016 at 10:22 AM, St├ęphane Maarek <
> stephane.maarek@gmail.com> wrote:
>
>> 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   nifi-app_2016-06-07_22.1.log
>> nifi-app_2016-06-06_17.0.log   nifi-app_2016-06-07_22.20.log
>> nifi-app_2016-06-06_18.0.log   nifi-app_2016-06-07_22.21.log
>> nifi-app_2016-06-06_19.0.log   nifi-app_2016-06-07_22.22.log
>> nifi-app_2016-06-06_20.0.log   nifi-app_2016-06-07_22.23.log
>> nifi-app_2016-06-06_21.0.log   nifi-app_2016-06-07_22.24.log
>> nifi-app_2016-06-06_22.0.log   nifi-app_2016-06-07_22.25.log
>> nifi-app_2016-06-06_23.0.log   nifi-app_2016-06-07_22.26.log
>> nifi-app_2016-06-07_00.0.log   nifi-app_2016-06-07_22.27.log
>> nifi-app_2016-06-07_01.0.log   nifi-app_2016-06-07_22.28.log
>> nifi-app_2016-06-07_01.1.log   nifi-app_2016-06-07_22.29.log
>> nifi-app_2016-06-07_02.0.log   nifi-app_2016-06-07_22.2.log
>> nifi-app_2016-06-07_03.0.log   nifi-app_2016-06-07_22.30.log
>> nifi-app_2016-06-07_04.0.log   nifi-app_2016-06-07_22.31.log
>> nifi-app_2016-06-07_05.0.log   nifi-app_2016-06-07_22.32.log
>> ....
>> nifi-app_2016-06-07_22.17.log  nifi-bootstrap_2016-06-06.log
>> nifi-app_2016-06-07_22.18.log  nifi-user_2016-06-06.log
>> nifi-app_2016-06-07_22.19.log
>>
>>
>> Can you please check on your end and let me know what I need to change?
>>
>> Thanks,
>> Stephane
>>
>> On Tue, Jun 7, 2016 at 9:49 AM Pat Trainor <pat.trainor@gmail.com> wrote:
>>
>>> 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.andrew@gmail.com>
>>> wrote:
>>>
>>>> Hi Pat,
>>>> It is all standard logback, described here: http://logback.qos.ch/
>>>>
>>>
>

Mime
View raw message