Switch thin logger to synchronous in order to support native images
[lgpl/argeo-commons.git] / org.argeo.init / src / org / argeo / init / logging / ThinLoggerFinder.java
index f443b2e669d28aa9599716e126adb24397db6f66..47cb14655e45e78b4813159577273ca36232b10a 100644 (file)
@@ -21,11 +21,12 @@ public class ThinLoggerFinder extends LoggerFinder {
        public ThinLoggerFinder() {
                if (logging != null)
                        throw new IllegalStateException("Only one logging can be initialised.");
-               init();
+//             init();
        }
 
        @Override
        public Logger getLogger(String name, Module module) {
+               lazyInit();
                return logging.getLogger(name, module);
        }