title: logback : does not creates log file
body: <p>First of all, I tried every solution that exist, but nothing is working, so I don't want from anyone to say this question is duplicated.</p>
  <p>I cannot log to the file using <em>logback</em>, but I can log to console without problems.</p>
  <p>My <code>logback.xml</code> file content:</p>
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
  &lt;configuration&gt;
  
    &lt;appender name=&quot;STDOUT&quot; class=&quot;ch.qos.logback.core.ConsoleAppender&quot;&gt;
      &lt;!-- encoders are assigned the type
                    ch.qos.logback.classic.encoder.PatternLayoutEncoder by default --&gt;
      &lt;encoder&gt;
        &lt;pattern&gt;%-4relative [%thread] %-5level %logger{35} - %msg %n&lt;/pattern&gt;
      &lt;/encoder&gt;
    &lt;/appender&gt;
  
  &lt;appender name=&quot;FILE&quot; class=&quot;ch.qos.logback.core.rolling.RollingFileAppender&quot;&gt;
      &lt;!--See http://logback.qos.ch/manual/appenders.html#RollingFileAppender--&gt;
      &lt;!--and http://logback.qos.ch/manual/appenders.html#TimeBasedRollingPolicy--&gt;
      &lt;!--for further documentation--&gt;
      &lt;append&gt;true&lt;/append&gt;
      &lt;File&gt;/root/connector/logs/connector.log&lt;/File&gt;
      &lt;encoder&gt;
          &lt;!-- was: %d{yyyy-MM-dd HH:mm:ss}%5p [%t] (%F:%L) - %msg%n --&gt;
        &lt;pattern&gt;%d{yyyy-MM-dd HH:mm:ss} %-5level [%thread] \(%class{25}:%line\) - %msg%n&lt;/pattern&gt;
      &lt;/encoder&gt;
      &lt;rollingPolicy class=&quot;ch.qos.logback.core.rolling.TimeBasedRollingPolicy&quot;&gt;
        &lt;!-- By setting the name to .gz here, we get free compression. --&gt;
        &lt;fileNamePattern&gt;/root/connector/logs/connector.log.%d{yyyy-MM-dd}.gz&lt;/fileNamePattern&gt;
      &lt;/rollingPolicy&gt;
    &lt;/appender&gt;
  
    &lt;root level=&quot;DEBUG&quot;&gt;
      &lt;appender-ref ref=&quot;STDOUT&quot; /&gt;
      &lt;appender-ref ref=&quot;FILE&quot; /&gt;
    &lt;/root&gt;
  &lt;/configuration&gt;
  </code></pre>
  <p>I even tried to give all users the permission to write in the folder, but this doesn't work.</p>
  <blockquote>
  <p>drwxrwxrwx. 2 nobody nobody  4096 Apr 29 08:24 logs</p>
  </blockquote>
  <p>I repeat again, I tried every solution that exists, but nothing is working.</p>