Examples of log()


Examples of org.apache.tomcat.util.log.Log.log()

      Log jasperLog = Constants.jasperLog;
     
            if (jasperLog != null &&
    jasperLog.getLevel() >= Log.INFORMATION)
    {
        jasperLog.log("JspEngine --> "+jspUri);
        jasperLog.log("\t     ServletPath: "+request.getServletPath());
        jasperLog.log("\t        PathInfo: "+request.getPathInfo());
        jasperLog.log("\t        RealPath: "
          +getServletConfig().getServletContext().getRealPath(jspUri));
        jasperLog.log("\t      RequestURI: "+request.getRequestURI());
View Full Code Here

Examples of org.apache.tools.ant.Project.log()

                    dupFile = new File(dup);
                    contextFile = context.getBuildFile();
                }

                if (context.isIgnoringProjectTag() && !dupFile.equals(contextFile)) {
                    project.log("Duplicated project name in import. Project "
                                + context.getCurrentProjectName() + " defined first in " + dup
                                + " and again in " + contextFile, Project.MSG_WARN);
                }
            }
            if (nameAttributeSet) {
View Full Code Here

Examples of org.apache.tools.ant.Task.log()

    }
   
    public void testLoggingDisabled() throws Exception {
        MockControl tkCtrl = MockClassControl.createControl(Task.class);
        Task task = (Task)tkCtrl.getMock();
        task.log("foobar", 2);

        tkCtrl.replay();
       
        LoggingRedirector redirector = new LoggingRedirector(task);
        ExecuteStreamHandler handler = redirector.createHandler();
View Full Code Here

Examples of org.apache.uima.util.Logger.log()

    Object value = context.getConfigParameterValue(parameter);
   
    Logger logger = context.getLogger();
   
    if (logger.isLoggable(Level.INFO)) {
      logger.log(Level.INFO, parameter + " = " +
          (value != null ? value.toString() : "not set"));
    }
   
    return value;
  }
View Full Code Here

Examples of org.apache.wink.common.internal.log.Providers.log()

                break;
            } else {
                providersLogger.addMessageBodyReader(reader, false);
            }
        }
        providersLogger.log();
        return ret;
    }

    @SuppressWarnings("unchecked")
    public <T> MessageBodyWriter<T> getMessageBodyWriter(Class<T> type,
View Full Code Here

Examples of org.cesecore.core.ejb.log.LogSessionLocal.log()

           
        try {
          MailSender.sendMailOrThrow(senderAddress, Arrays.asList(reciverAddress), MailSender.NO_CC, mailActionInfo.getSubject(), mailActionInfo.getMessage(), MailSender.NO_ATTACHMENTS);
          if (mailActionInfo.isLoggingEnabled()) {
            String logmsg = intres.getLocalizedMessage("services.mailaction.sent", reciverAddress);
            logSession.log(admin, admin.getCaId(), LogConstants.MODULE_APPROVAL, new java.util.Date(), null, null, LogConstants.EVENT_INFO_NOTIFICATION, logmsg);
          }
        } catch (Exception e) {
      String msg = intres.getLocalizedMessage("services.mailaction.errorsend", reciverAddress);
            log.error(msg, e);
            try{
View Full Code Here

Examples of org.chaidb.db.log.logrecord.BTreeAddRemoveLogRecord.log()

                if (keyLength > 0) {
                    /******************* Add by leon, Sep 30 2001 *************/
                    if (needLog) {
                        int newPageNo = overflowPage.pageNumber.getPageNumber();
                        BTreeAddRemoveLogRecord logRec = new BTreeAddRemoveLogRecord(page.getPageNumber().getTreeId(), newPageNo, txnId, BTreeAddRemoveLogRecord.ADD_FLAG, overflowPage.upperBound, ByteTool.copyByteArray(key, keyStartPos, keyLength), page.btreeSpec.btree.getType());
                        logRec.log();
                    }
                    /*************************************************************/
                    System.arraycopy(key, keyStartPos, overflowPage.page, overflowPage.upperBound, keyLength);
                    keyStartPos += keyLength;
                    keyLeft -= keyLength;
View Full Code Here

Examples of org.chaidb.db.log.logrecord.BTreeFreeOverflowPageLogRecord.log()

                if (needLog) {
                    int pgno = overflowPage.pageNumber.getPageNumber();
                    short upBound = overflowPage.upperBound;
                    short lowBound = (short) BTreeSpec.PAGE_HEADER_SIZE;
                    BTreeFreeOverflowPageLogRecord lr = new BTreeFreeOverflowPageLogRecord(overflowPage.getPageNumber().getTreeId(), pgno, txnId, ByteTool.copyByteArray(overflowPage.page, 0, lowBound), ByteTool.copyByteArray(overflowPage.page, upBound, BTreeSpec.PAGE_SIZE - upBound), overflowPage.btreeSpec.btree.getType());
                    lr.log();
                }
                /***************************/

                page.buffer.addToFreeList(pageNumber.getTreeId(), overflowPage.pageNumber, needLog ? new Integer(txnId) : null);

View Full Code Here

Examples of org.chaidb.db.log.logrecord.BTreeFreePageWithDataLogRecord.log()

        if (needLog) {
            int pgno = recycledPage.pageNumber.getPageNumber();
            short upBound = recycledPage.upperBound;

            BTreeFreePageWithDataLogRecord lr = new BTreeFreePageWithDataLogRecord(id, pgno, txnId, recycledPage.flags, recycledPage.docid, ByteTool.copyByteArray(recycledPage.page, 0, BTreeSpec.PAGE_HEADER_SIZE), ByteTool.copyByteArray(recycledPage.page, upBound, BTreeSpec.PAGE_SIZE - upBound), btreeSpec.btree.getType());
            lr.log();
        }
        /***************************/

        Integer iTxnID = new Integer(txnId);
        if (getBuffer().isLatestDataPage(recycledPage.docid, recycledPage.pageNumber, iTxnID))
View Full Code Here

Examples of org.chaidb.db.log.logrecord.BTreeNewPageLogRecord.log()

        if (isOverflowPage) newPageFlag = 4;
        if (needLog) {
            int newPageNo = freePageInfo.getPageNumber().getPageNumber();

            BTreeNewPageLogRecord logRec = new BTreeNewPageLogRecord(freePageInfo.getPageNumber().getTreeId(), newPageNo, txnId, newPageFlag, docid, btreeSpec.btree.getType());
            logRec.log();
        }
        /* end:added by marriane for logging newPage log record */

        newPage.page = freePageInfo.getPageData();
        newPage.setPageNumber(freePageInfo.getPageNumber());
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.