in src/main/java/org/apache/sling/commons/log/logback/internal/LogWriter.java [81:106]
public LogWriter(
@Nullable String configurationPID,
@NotNull String appenderName,
int logNumber,
@Nullable String logRotation,
@Nullable String fileName,
boolean bufferedLogging) {
this.appenderName = appenderName;
if (fileName == null || fileName.length() == 0) {
fileName = FILE_NAME_CONSOLE;
}
if (logNumber < 0) {
logNumber = LogConstants.LOG_FILE_NUMBER_DEFAULT;
}
if (logRotation == null || logRotation.length() == 0) {
logRotation = LogConstants.LOG_FILE_SIZE_DEFAULT;
}
this.configurationPID = configurationPID;
this.fileName = fileName;
this.logNumber = logNumber;
this.logRotation = logRotation;
this.bufferedLogging = bufferedLogging;
}