Examples of log()


Examples of oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.log()

            // Fix up our merge state in the unit of work and the session
            uow.setPendingMerge();

        } catch (RuntimeException exception) {
            // Something went wrong (probably while sending SQL to the database).
            uow.log(new SessionLogEntry(uow, SessionLog.WARNING, SessionLog.TRANSACTION, exception));
            // Handle the exception according to transaction manager requirements
            handleException(exception);
        } finally {
            session.endOperationProfile(SessionProfiler.JtsBeforeCompletion);
        }
View Full Code Here

Examples of org.antlr.v4.Tool.log()

                        vocabName + CodeGenerator.VOCAB_FILE_EXTENSION,
                        " bad token type: "+tokenTypeS,
                        lineNum);
            tokenType = Token.INVALID_TOKEN_TYPE;
          }
          tool.log("grammar", "import "+tokenID+"="+tokenType);
          tokens.put(tokenID, tokenType);
          maxTokenType = Math.max(maxTokenType,tokenType);
          lineNum++;
        }
        else {
View Full Code Here

Examples of org.apache.aries.jmx.Logger.log()

        StandardMBean mbean = null;
        try {
            mbean = new StandardMBean(caMBean, ConfigurationAdminMBean.class);
        } catch (NotCompliantMBeanException e) {
            Logger logger = agentContext.getLogger();
            logger.log(LogService.LOG_ERROR, "Failed to instantiate MBean for "
                    + ConfigurationAdminMBean.class.getName(), e);
        }
        return mbean;
    }
View Full Code Here

Examples of org.apache.blur.utils.SimpleTimer.log()

    _refresher = new NRTManagerReopenThread(getNRTManager(), targetMinStaleSec * 10, targetMinStaleSec);
    _refresher.setName("Refresh Thread [" + _tableContext.getTable() + "/" + shardContext.getShard() + "]");
    _refresher.setDaemon(true);
    _refresher.start();
    simpleTimer.stop("nrtSetup");
    simpleTimer.log(LOG);
  }

  /**
   * The snapshots directory contains a file per snapshot.
   * Name of the file is the snapshot name and it stores the segments filename
View Full Code Here

Examples of org.apache.camel.util.CamelLogger.log()

    protected Subject authenticate(SecurityAuthenticator authenticator, LoggingLevel deniedLoggingLevel, HttpPrincipal principal) {
        try {
            return authenticator.login(principal);
        } catch (LoginException e) {
            CamelLogger logger = new CamelLogger(LOG, deniedLoggingLevel);
            logger.log("Cannot login " + principal.getName() + " due " + e.getMessage(), e);
        }
        return null;
    }

    @Override
View Full Code Here

Examples of org.apache.catalina.AccessLog.log()

                        l.install();
                    }
                }
            }

            newDefaultAccessLog.log(request, response, time);
        }
    }


    // -------------------- JMX registration  --------------------
View Full Code Here

Examples of org.apache.catalina.Logger.log()

        String cls="["+this.source.getClass().getName()+"] ";
        if (msg==null) msg=cls;
        else msg=cls.concat(msg);

        if (exc==null) logg.log(msg,lev);
        else logg.log(msg,exc,lev);
    }

    /** Invoked when we can't get a hold on the logger, dump to stderr */
    private void dump(String message, Exception exception) {
View Full Code Here

Examples of org.apache.cayenne.log.JdbcEventLogger.log()

    protected void executeSql(MergerContext mergerContext, String sql) {
        Connection conn = null;
        Statement st = null;
        JdbcEventLogger logger = mergerContext.getDataNode().getJdbcEventLogger();
        try {
            logger.log(sql);
            conn = mergerContext.getDataNode().getDataSource().getConnection();
            st = conn.createStatement();
            st.execute(sql);
        }
        catch (SQLException e) {
View Full Code Here

Examples of org.apache.commons.math3.complex.Complex.log()

        } else if (token.equals("exp")) {
          stackAnswer.push(complexFormat.format(a.exp()));
        } else if (token.equals("imag")) {
          stackAnswer.push(complexFormat.format(a.getImaginary()));
        } else if (token.equals("log")) {
          stackAnswer.push(complexFormat.format(a.log()));
        } else if (token.equals("neg")) {
          stackAnswer.push(complexFormat.format(a.negate()));
        } else if (token.equals("real")) {
          stackAnswer.push(complexFormat.format(a.getReal()));
        } else if (token.equals("sin")) {
View Full Code Here

Examples of org.apache.continuum.web.util.AuditLog.log()

        }

        AuditLog event = new AuditLog( "Project id=" + project.getId(), AuditLogConstants.ADD_PROJECT );
        event.setCategory( AuditLogConstants.PROJECT );
        event.setCurrentUser( getPrincipal() );
        event.log();

        return SUCCESS;
    }

    public String input()
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.