Actuator /logfile endpoint no longer works with external logback configuration
<p>I needed my logs to be rolling, so I have created a "logback-spring.xml" file and placed it src/main/resources. Works flawlessly. </p>

<p>The issue is that the actuator endpoint "/logfile" no longer works as I have removed the logging configuration from the "applications.yml" file.
According to documentation, either "logging.path" or "logging.file" needs to be set in order to make the "/logfile" endpoint work. This however seem to conflict with my new 'xml configuration.</p>

<p>Here is my logback-spring.xml configuration for good measure:</p>

<pre><code>&lt;configuration debug="true" scan="true"&gt;
&lt;include resource="org/springframework/boot/logging/logback/base.xml"/&gt;
&lt;property name="LOG_PATH" value="logs"/&gt;
&lt;property name="LOG_ARCHIVE" value="${LOG_PATH}/archive"/&gt;

&lt;appender name="RollingFile-Appender" class="ch.qos.logback.core.rolling.RollingFileAppender"&gt;
    &lt;file&gt;${LOG_FILE}&lt;/file&gt;
    &lt;rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"&gt;
        &lt;fileNamePattern&gt;${LOG_ARCHIVE}/bookingflow-%d{yyyy-MM-dd}.log&lt;/fileNamePattern&gt;
        &lt;maxHistory&gt;30&lt;/maxHistory&gt;
        &lt;totalSizeCap&gt;1GB&lt;/totalSizeCap&gt;
    &lt;/rollingPolicy&gt;
    &lt;encoder&gt;
        &lt;pattern&gt;%d %-5level [%thread] %logger : %msg%n&lt;/pattern&gt;
    &lt;/encoder&gt;
&lt;/appender&gt;
&lt;appender name="Async-Appender" class="ch.qos.logback.classic.AsyncAppender"&gt;
    &lt;appender-ref ref="RollingFile-Appender"/&gt;
&lt;/appender&gt;

&lt;logger name="com.novasol.bookingflow.api" level="debug"&gt;
    &lt;appender-ref ref="Async-Appender"/&gt;
&lt;/logger&gt;
&lt;springProfile name="production"&gt;
    &lt;logger name="com.novasol.bookingflow.api" level="error"&gt;
        &lt;appender-ref ref="Async-Appender"/&gt;
    &lt;/logger&gt;
&lt;/springProfile&gt;
&lt;/configuration&gt;    
</code></pre>

<p>Any pointers appreciated.</p>

<p>Kind regards 
Lars</p>