package org.folio.okapi;

import io.vertx.core.logging.Logger;
import io.vertx.core.logging.LoggerFactory;
import static java.lang.System.*;

public class MainCluster {
  private MainCluster() {
    throw new IllegalAccessError("MainCluster");
  }

  public static void main(String[] args) {
    final Logger logger = LoggerFactory.getLogger("okapi");
    MainDeploy d = new MainDeploy();

    d.init(args, res -> {
      if (res.failed()) {
        logger.error(res.cause());
        exit(1);
      }
    });
  }

}

@@ -289,68 +289,8 @@
 ) %7B%0A
-    final Logger logger = LoggerFactory.getLogger(%22okapi%22);%0A
     
@@ -322,17 +322,16 @@
 ploy();%0A
-%0A
     d.in
@@ -370,24 +370,148 @@
 failed()) %7B%0A
+        // use logger after vert.x logger is configured in d.init%0A        Logger logger = LoggerFactory.getLogger(%22okapi%22);%0A
         logg

Fix strange logformat OKAPI-453