Examples of Log


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

        {
            // It's secure, now check to see if the keystore pass was
            // already specified in the config file
            if (!connector.isKeypassSet()) {
                // insure log flushed
                Log logger = getLog();
                if (logger != null )
                    logger.flush();

                // Go ahead with the prompting
                String certpwd = null;
                try {
                    certpwd = Prompter.promptForInput(
View Full Code Here

Examples of org.apache.turbine.util.Log

    */
    public void setLogging(boolean loggingEnabled) {
        this.loggingEnabled = loggingEnabled;
        // if logging is enabled, output log message
        if (loggingEnabled == true) {
            log = new Log();
            log.debug("debug", "logging has been enabled");
        }
        else {
            log = null;
        }
View Full Code Here

Examples of org.apache.velocity.runtime.log.Log

        return velocity.getLog();
    }

    protected final void debug(String msg, Object... args)
    {
        Log log = getLog();
        if (log != null && log.isDebugEnabled())
        {
            log.debug(String.format(msg, args));
        }
    }
View Full Code Here

Examples of org.boris.expr.function.excel.LOG

            assertEquals("LN not working", eval(l, d), Math.log(d));
        }
    }

    public void testLOG() throws Exception {
        LOG l = new LOG();
        assertEquals(eval(l, 86, Math.E), 4.45434734288829);
        assertEquals(eval(l, 10, 2), 3.32192809488736);
        assertEquals(eval(l, 10, 1), 1.);
        assertEquals(eval(l, 8, 2), 3.);
    }
View Full Code Here

Examples of org.contikios.cooja.interfaces.Log

      String msg = null;
      for (MoteInterface mi: mote.getInterfaces().getInterfaces()) {
        if (!(mi instanceof Log)) {
          continue;
        }
        Log log = (Log) mi;
        if (log.getLastLogMessage() == null) {
          continue;
        }
        msg = log.getLastLogMessage();
      }
      if (msg == null) {
        continue;
      }
View Full Code Here

Examples of org.easycassandra.bean.model.Log

    /**
     * run the test.
     */
    @Test
    public void insertTest() {
        Log log = new Log();
        log.setUserUUid(NICK_NAME);
        log.setUuid(NICK_NAME.concat("1"));
        Assert.assertTrue(dao.insert(log));
    }
View Full Code Here

Examples of org.eclipse.orion.server.cf.objects.Log

      }

      String response = getInstanceLogStatus.getJsonData().optString("response");

      JSONObject jsonResp = new JSONObject();
      Log log = new Log(appName, logName);
      log.setContents(response);
      log.setLocation(new URI(baseRequestLocation));
      jsonResp.put(instanceNo, log.toJSON());

      return new ServerStatus(Status.OK_STATUS, HttpServletResponse.SC_OK, jsonResp);
    } catch (Exception e) {
      String msg = NLS.bind("An error occured when performing operation {0}", commandName); //$NON-NLS-1$
      logger.error(msg, e);
View Full Code Here

Examples of org.eclipse.orion.server.git.objects.Log

              // set the commit range
              lc.add(toObjectId);
              lc.setMaxCount(this.commitsSize);
              Iterable<RevCommit> commits = lc.call();
              Log log = new Log(cloneLocation, db, commits, null, null, toRefId);
              log.setPaging(1, commitsSize);
              branch.put(GitConstants.KEY_TAG_COMMIT, log.toJSON());
              newChildren.put(branch);
            }
          }

          result.put(ProtocolConstants.KEY_CHILDREN, newChildren);
View Full Code Here

Examples of org.epic.perl.editor.test.Log

    {
        String line =
            "Subroutine foo redefined at /blah/X.pm line 65." +
            " at /foo/Bar.pm line 22.";
        PerlValidatorBase.ParsedErrorLine pline =
            new PerlValidatorBase.ParsedErrorLine(line, new Log());
       
        assertEquals(
            "Subroutine foo redefined at /blah/X.pm line 65.",
            pline.getMessage());
        assertEquals(22, pline.getLineNumber());
       
        // test case for bug #1307071
        line = "syntax error at bug1307071.pl line 9, near \"if {\"";
        pline = new PerlValidatorBase.ParsedErrorLine(line, new Log());
        assertEquals("syntax error", pline.getMessage()); // could be better...
        assertEquals(9, pline.getLineNumber());
    }
View Full Code Here

Examples of org.exoplatform.frameworks.ftpclient.Log

      fName= name;
   }

   public TestAgent(int agentId, int itemsCount)
   {
      log = new Log("TestAgent[" + agentId + "]");

      this.agentId = agentId;
      this.itemsCount = itemsCount;

      log.info("construct agent with ID [" + agentId + "]");
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.