This method configures the LF5Appender
using a
default configuration file. The default configuration file is
defaultconfig.properties.
String resource =
"/org/apache/log4j/lf5/config/defaultconfig.properties";
URL configFileResource =
DefaultLF5Configurator.class.getResource(resource);
if (configFileResource != null) {
PropertyConfigurator.configure(configFileResource);
} else {
throw new IOException("Error: Unable to open the resource" +
resource);
}