* This method should be used only for testing!
* and for Startup class
*/
public static void initLogging() {
try {
PropertyConfigurator.configure(new ApplicationSettings().getLogPropertiesFile().getAbsolutePath());
} catch (Exception ex) {
ex.printStackTrace();
System.out.println("Fall back to classpath log4j.properties.");
}
}