title: Logback empty log file is getting created
body: <p>In my application is using <code>RolingFileAppender</code> with size based triggering policy main classes initializes log file using logback configuration file. When main class is invoked using a shell script, I see log messages are correctly going to log file that conf define but in addition it also created empty logfile with scriptname
  say ABC.sh calls MainClass which is supposed to write to logback123.log now all messages are going to  logback123.log fine but there is extra empty ABC.log file is getting created.
  Any thoughts on this</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;configuration&gt;
      &lt;appender name="FILEOUT" class="ch.qos.logback.core.rolling.RollingFileAppender"&gt;
          &lt;file&gt;/opt/agents/upgradeSC91Temp/mbs/logs/watchdog.log&lt;/file&gt;
          &lt;append&gt;true&lt;/append&gt;
          &lt;rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"&gt;
           &lt;fileNamePattern&gt;/opt/agents/upgradeSC91Temp/mbs/logs/watchdog_%i.log&lt;/fileNamePattern&gt;
              &lt;minIndex&gt;1&lt;/minIndex&gt; &lt;maxIndex&gt;10&lt;/maxIndex&gt; &lt;/rollingPolicy&gt;
          &lt;triggeringPolicy class="com.aptare.dc.util.LogbackSizeBasedTriggeringPolicy"&gt;
              &lt;maxFileSize&gt;20MB&lt;/maxFileSize&gt; &lt;/triggeringPolicy&gt;
          &lt;encoder&gt; &lt;pattern&gt;%d{dd MMM yyyy HH:mm:ss:SSS} %-5p %C{0}.%-5M - %msg%n&lt;/pattern&gt;
          &lt;/encoder&gt;
      &lt;/appender&gt;
      &lt;appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"&gt;
          &lt;encoder&gt;
              &lt;pattern&gt;%d{dd MMM yyyy HH:mm:ss:SSS} %-5p %C{0}.%-5M - %msg%n&lt;/pattern&gt;
          &lt;/encoder&gt;
      &lt;/appender&gt;
      &lt;logger name="com.aptare.dc.util.LogWriterInitializer"&gt;
          &lt;level value="INFO"/&gt;
          &lt;appender-ref ref="FILEOUT"/&gt;
         &lt;/logger&gt;
  &lt;/configuration&gt;
  </code></pre>