in src/main/java/org/apache/sling/commons/log/logback/internal/SlingLogPanel.java [539:554]
private boolean areAllLogfilesInSameFolder(final Iterable<LogConfig> logConfigs, final String rootPath) {
String lastPath = null;
for (final LogConfig config : logConfigs) {
String path = getPath(config.getLogWriter().getFileName(), null, false);
if (!path.startsWith(rootPath)) {
return false;
}
path = path.substring(0, rootPath.length());
if (lastPath == null) {
lastPath = path;
} else if (!path.equals(lastPath)) {
return false;
}
}
return true;
}