Hello,

I believe nifi-app.log is already doing hourly rollover with a max of 100mb
per file.

The logback.xml contains some comments that explain how to change it for
different rollovers:
https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/conf/logback.xml#L24-L30

The nifi-bootstrap.log looks like it is set to daily because it only has %d
https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/conf/logback.xml#L71

Thanks,

Bryan


On Tue, Oct 4, 2016 at 9:57 AM, Manish Gupta 8 <[email protected]> wrote:

> Hi,
>
>
>
> Is there any documentation/example for setting rolling app and bootstrap
> log file. I want NiFi to create a new file every one hour. By default,
> everything goes into a single file.
>
> I couldn’t find much about logback.xml in admin/dev guide.
>
>
>
> Thanks,
>
> Manish
>
>
>

Reply via email to