nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Gresock <>
Subject Logback stops writing to nifi-app.log after restart
Date Thu, 27 Oct 2016 12:34:49 GMT
Before I create a ticket, I wanted to see if anyone had run into this.

Whenever we restart nifi, the nifi-app.log no longer gets written to.

If I delete all the nifi-app* logs and then restart, it writes logs just
fine, but if I leave the logs it doesn't write to the log upon restarting

Sure enough, "lsof | grep nifi-app" produces output prior to restart, but
produces nothing after a restart (if I have not deleted the logs).

An excerpt from my logback.xml:

<configuration scan="true" scanPeriod="30 seconds">

    <appender name="APP_FILE"
              For daily rollover, use 'app_%d.log'.
              For hourly rollover, use 'app_%d{yyyy-MM-dd_HH}.log'.
              To GZIP rolled files, replace '.log' with '.log.gz'.
              To ZIP rolled files, replace '.log' with ''.

            <pattern>%date %level [%thread] %logger{40} %msg%n</pattern>
    <root level="INFO">
        <appender-ref ref="APP_FILE"/>

I know what it is to be in need, and I know what it is to have plenty.  I
have learned the secret of being content in any and every situation,
whether well fed or hungry, whether living in plenty or in want.  I can do
all this through him who gives me strength.    *-Philippians 4:12-13*

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message