diff options
-rw-r--r-- | src/main/java/org/openslx/imagemaster/App.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/openslx/imagemaster/App.java b/src/main/java/org/openslx/imagemaster/App.java index f3a0aee..12e583d 100644 --- a/src/main/java/org/openslx/imagemaster/App.java +++ b/src/main/java/org/openslx/imagemaster/App.java @@ -31,8 +31,8 @@ public class App public static void main( String[] args ) throws TTransportException, NoSuchAlgorithmException, SocketException { // setup basic logging appender to log output on console if no external appender (log4j.properties) is configured - if (org.apache.logging.log4j.core.Logger.class.cast(LogManager.getRootLogger()).getAppenders().isEmpty()) { - Configurator.initialize(new DefaultConfiguration()); + if ( org.apache.logging.log4j.core.Logger.class.cast( LogManager.getRootLogger() ).getAppenders().isEmpty() ) { + Configurator.initialize( new DefaultConfiguration() ); } AppUtil.logHeader( log, App.NAME, App.class.getPackage().getImplementationVersion() ); |