Examples of log()


Examples of org.eclipse.wst.wsdl.validation.internal.logging.ILogger.log()

    IValidationReport valReport = validateFile(wsdlFile);

    if(valReport.hasErrors())
    {
      numInvalid++;
      logger.log(MessageFormat.format(WSDLValidateTextUIMessages._UI_FILE_INVALID, new Object[]{wsdlFile}), ILogger.SEV_INFO);
      //logger.log(WSDLValidateTextUIMessages._UI_INFORMATION_DELIMITER, ILogger.SEV_ERROR);
      logger.log(getMessages(valReport.getValidationMessages()), ILogger.SEV_INFO);
    }
    else if(verbose)
    {
View Full Code Here

Examples of org.ejbca.core.model.log.ILogDevice.log()

      final Iterator<ILogDevice> i = logdevices.iterator();
      while (i.hasNext()) {
        final ILogDevice dev = i.next();
        try {
            if (!dev.getAllowConfigurableEvents() || config.logEvent(event)) {
              dev.log(admin, caid, module, time, username, certificate, event, comment, ex);
            }
        } catch (Throwable e) { // NOPMD, we really want to catch every possible error from the log device
              LOG.error(INTRES.getLocalizedMessage("log.error.logdropped",admin.getAdminType()+" "+admin.getAdminData()+" "
                  +caid+" "+" "+module+" "+" "+time+" "+username+" "+(certificate==null?"null":CertTools.getSerialNumberAsString(certificate)+" "
                     +CertTools.getIssuerDN(certificate))+" "+event+" "+comment+" "+ex));
View Full Code Here

Examples of org.emrys.webosgi.core.FwkActivator.log()

          continue;
        try {
          return (IWebApplication) ce
              .createExecutableExtension("class");
        } catch (Exception e) {
          fwcActivator.log(e);
        }
      }
      return null;
    }
View Full Code Here

Examples of org.glassfish.contextpropagation.bootstrap.LoggerAdapter.log()

  }

  private static void error(MessageID messageID, Object... args) {
    LoggerAdapter logger = ContextBootstrap.getLoggerAdapter();
    if (logger.isLoggable(Level.ERROR)) {
      logger.log(Level.ERROR, messageID, args);
    }
  }

  @Override
  protected void writeHeader(ObjectOutputStream oos) throws IOException {
View Full Code Here

Examples of org.glassfish.jersey.message.internal.TracingLogger.log()

        final RoutingContext rc = context.routingContext();
        // Peek at matching information to obtain path to match
        String path = rc.getFinalMatchingGroup();

        final TracingLogger tracingLogger = TracingLogger.getInstance(context.request());
        tracingLogger.log(ServerTraceEvent.MATCH_PATH_FIND, path);

        Router.Continuation result = null;
        final Iterator<Route<PathPattern>> iterator = acceptedRoutes.iterator();
        while (iterator.hasNext()) {
            final Route<PathPattern> acceptedRoute = iterator.next();
View Full Code Here

Examples of org.glite.lb.ContextIL.log()

            ctx.setUser(job.getExtraAttribute("USER_DN_X500"));

            //ctx.setUser(ctxd.getUser());
            reg.setJdl(job.getJDL());

            ctx.log(reg);
        } else {
            throw new LBException("LBLogger.register(): grid jobid set, not registering in LB");
        }
    }
View Full Code Here

Examples of org.gudy.azureus2.core3.util.AEDiagnosticsLogger.log()

                //Add a file to the log.
                AEDiagnosticsLogger dLog = AEDiagnostics.getLogger("AutoSpeed");
                String comment = commentBox.getText();
                if(comment!=null){
                    if( comment.length()>0){
                        dLog.log( "user-comment:"+comment );
                        commentBox.setText("");
                    }
                }
            }
        });
View Full Code Here

Examples of org.gudy.azureus2.plugins.logging.LoggerChannel.log()

                            updateInstaller.addMoveAction(complete_file_from , complete_file_to);
                           
       
                                                   
                        //System.out.println("AZCVSUpdater:  Sleeping for 5 seconds to ensure all has completed, because Tim says my plugin is lazy ;)");
                        logger.log("Sleeping for 5 seconds to ensure all has completed");
                        Thread.sleep(5000);
                        um.applyUpdates(restart);
                        logger.log("Still here.. even after um.applyUpdates :*(");       
                   
                    }
View Full Code Here

Examples of org.huihoo.willow.Logger.log()

    {
      logger = context.getLogger();
    }
    if (logger != null)
    {
      logger.log("ContextConfig[" + context.getName() + "]: " + message);
    }
    else
    {
      log.info(message);
    }
View Full Code Here

Examples of org.huihoo.workflow.runtime.WorkflowContext.log()

          + "\n"
          + "\t\t ActivityID = "
          + workflowActivity.getUUID()
          + "\n"
          + "---------END-------------Damn It ,Fatal Error----------------------\n";
      context.log(message);
    }

    for (int i = 0; i < listeners.length; ++i)
    {
      listeners[i].afterDispatched(event);
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.