Fix misleading warning message for missing output directory. (#8742)

Change warning message to info.
Add name of directory checked to message.

Resolves #4627
This commit is contained in:
Anthony Whitaker 2021-02-18 22:48:54 -05:00 committed by GitHub
parent bed5ab17ef
commit bb712013f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,7 +65,7 @@ public class CodegenIgnoreProcessor {
if (directory.exists() && directory.isDirectory()) {
loadFromFile(targetIgnoreFile);
} else {
LOGGER.warn("Output directory does not exist, or is inaccessible. No file (.openapi-generator-ignore) will be evaluated.");
LOGGER.info("Output directory ({}) does not exist, or is inaccessible. No file (.openapi-generator-ignore) will be evaluated.", baseDirectory);
}
}