Package ch.qos.logback.classic

Examples of ch.qos.logback.classic.Logger.error()


          logger.error (String.format ("failed creating component: %s; ignoring!", createResponse), exception);
          throw (new Error (exception));
        }
      } catch (final Throwable exception) {
        exceptions.trace (ExceptionResolution.Ignored, exception);
        logger.error ("failed creating component; ignoring!", exception);
        throw (new Error (exception));
      }
    } catch (final Throwable exception) {
      exceptions.trace (ExceptionResolution.Ignored, exception);
      logger.error ("failed creating component; ignoring!", exception);
View Full Code Here


        logger.error ("failed creating component; ignoring!", exception);
        throw (new Error (exception));
      }
    } catch (final Throwable exception) {
      exceptions.trace (ExceptionResolution.Ignored, exception);
      logger.error ("failed creating component; ignoring!", exception);
      throw (new Error (exception));
    }
    logger.info ("started: {}", componentIdentifier.get ());
    main.join ();
  }
View Full Code Here

        logger.debug ("stopping exporter...");
        try {
          exporter.stopServer ();
        } catch (final Throwable exception) {
          exceptions.trace (ExceptionResolution.Ignored, exception);
          logger.error ("failed stopping exporter; ignoring!", exception);
        }
        logger.debug ("sopping appender...");
        try {
          appender.close ();
        } catch (final Throwable exception) {
View Full Code Here

        logger.debug ("sopping appender...");
        try {
          appender.close ();
        } catch (final Throwable exception) {
          exceptions.trace (ExceptionResolution.Ignored, exception);
          logger.error ("failed stopping appender; ignoring!", exception);
        }
      }
    });
    logger.debug ("starting exporter...");
    try {
View Full Code Here

    logger.debug ("starting exporter...");
    try {
      exporter.startServer ();
    } catch (final Throwable exception) {
      exceptions.trace (ExceptionResolution.Ignored, exception);
      logger.error ("failed starting exporter; ignoring!", exception);
      throw (new Error (exception));
    }
    logger.debug ("starting appender...");
    try {
      appender.start ();
View Full Code Here

    logger.debug ("starting appender...");
    try {
      appender.start ();
    } catch (final Throwable exception) {
      exceptions.trace (ExceptionResolution.Ignored, exception);
      logger.error ("failed starting appender; ignoring!", exception);
      throw (new Error (exception));
    }
    final AtomicReference<String> componentIdentifier = Atomics.newReference (null);
    final Runnable run = new Runnable () {
      @Override
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.