|
Warnings such as this:
log4j:WARN No appenders could be found for logger (io.netty.util.internal.logging.InternalLoggerFactory).
can be addressed just by adding the configuration in the normal place:
src/main/resources/log4j.properties
so that it gets automatically found on the classpath.
However, for warnings such as this:
log4j:WARN No appenders could be found for logger (org.raml.parser.loader.FileResourceLoader).
and this:
log4j:WARN No appenders could be found for logger (org.raml.parser.utils.StreamUtils).
the normal solution does not work.
Thanks to https://github.com/raml-org/raml-java-parser/issues/33
using the "properties-maven-plugin" to set the "log4j.configuration" system property, it works in all cases.
|