Codota Logo
Logger.info
Code IndexAdd Codota to your IDE (free)

How to use
info
method
in
org.eclipse.jetty.util.log.Logger

Best Java code snippets using org.eclipse.jetty.util.log.Logger.info (Showing top 20 results out of 477)

  • Common ways to obtain Logger
private void myMethod () {
Logger l =
  • Codota IconLog.getRootLogger()
  • Codota IconString name;new Slf4jLog(name)
  • Codota IconString name;new JavaUtilLog(name)
  • Smart code suggestions by Codota
}
origin: org.eclipse.jetty/jetty-webapp

private void dumpUrl()
{
  Connector[] connectors = getServer().getConnectors();
  for (int i=0;i<connectors.length;i++)
  {
    String displayName = getDisplayName();
    if (displayName == null)
      displayName = "WebApp@"+Arrays.hashCode(connectors);
    LOG.info(displayName + " at http://" + connectors[i].toString() + getContextPath());
  }
}
origin: org.eclipse.jetty/jetty-webapp

LOG.info("NO JSP Support for {}, did not find {}", context.getContextPath(), servlet_class);
servlet_class = "org.eclipse.jetty.servlet.NoJspServlet";
origin: org.eclipse.jetty/jetty-util

private void printInfoOnLeases()
{
  leases.forEach(lease-> LOG.info("{} requires {} threads from {}",lease.leasee,lease.getThreads(),pool));
}
origin: org.eclipse.jetty/jetty-util

protected void processIncludeCipherSuites(String[] supportedCipherSuites, List<String> selected_ciphers)
{
  for (String cipherSuite : _includeCipherSuites)
  {
    Pattern p = Pattern.compile(cipherSuite);
    boolean added = false;
    for (String supportedCipherSuite : supportedCipherSuites)
    {
      Matcher m = p.matcher(supportedCipherSuite);
      if (m.matches())
      {
        added = true;
        selected_ciphers.add(supportedCipherSuite);
      }
    }
    if (!added)
      LOG.info("No Cipher matching '{}' is supported", cipherSuite);
  }
}
origin: org.eclipse.jetty/jetty-util

private synchronized void hook()
{
  try
  {
    if (!_hooked)
      Runtime.getRuntime().addShutdownHook(this);
    _hooked=true;
  }
  catch(Exception e)
  {
    LOG.ignore(e);
    LOG.info("shutdown already commenced");
  }
}

origin: org.eclipse.jetty/jetty-util

  selected_protocols.add(protocol);
else
  LOG.info("Protocol {} not supported in {}", protocol, Arrays.asList(supportedProtocols));
origin: org.eclipse.jetty/jetty-util

/**
 * <p>Checks leases against the given number of {@code maxThreads}.</p>
 *
 * @param maxThreads A proposed change to the maximum threads to check.
 * @return true if passes check, false if otherwise (see logs for details)
 * @throws IllegalStateException if insufficient threads are configured.
 */
public boolean check(int maxThreads) throws IllegalStateException
{
  int required = leases.stream()
    .mapToInt(Lease::getThreads)
    .sum();
  int left = maxThreads - required;
  if (left <= 0)
  {
    printInfoOnLeases();
    throw new IllegalStateException(String.format("Insufficient configured threads: required=%d < max=%d for %s", required, maxThreads, pool));
  }
  if (left < warnAt)
  {
    if (warned.compareAndSet(false,true))
    {
      printInfoOnLeases();
      LOG.info("Low configured threads: (max={} - required={})={} < warnAt={} for {}", maxThreads, required, left, warnAt, pool);
    }
    return false;
  }
  return true;
}
origin: org.eclipse.jetty/jetty-util

LOG.info("Using Non-Native Java {}",pollingWatchServiceClass.getName());
Class<?> c = Class.forName("com.sun.nio.file.SensitivityWatchEventModifier");
Field f = c.getField("HIGH");
origin: org.eclipse.jetty/jetty-util

LOG.info(String.format("Logging initialized @%dms to %s",Uptime.getUptime(),LOG.getClass().getName()));
origin: org.eclipse.jetty/jetty-util

@Override
public void run()
{
  List<Sweepable> refs = items.get();
  if (refs == null)
    return;
  for (Sweepable sweepable : refs)
  {
    try
    {
      if (sweepable.sweep())
      {
        refs.remove(sweepable);
        if (LOG.isDebugEnabled())
          LOG.debug("Resource swept {}", sweepable);
      }
    }
    catch (Throwable x)
    {
      LOG.info("Exception while sweeping " + sweepable, x);
    }
  }
  activate();
}
origin: org.eclipse.jetty/jetty-util

JLOG.info(msg,cause);
JLOG.info(msg);
origin: i2p/i2p.i2p

Log.getLogger((String)null).info("Opened "+getDatedFilename());
origin: org.eclipse.jetty.aggregate/jetty-all-server

@Override
public void log(String msg)
{
  _logger.info(msg);
}
origin: org.eclipse.jetty/jetty-util

LOG.info("x509={} for {}", x509, this);
origin: org.eclipse.jetty/jetty-client

private void notifyCommit(Request.CommitListener listener, Request request)
{
  try
  {
    listener.onCommit(request);
  }
  catch (Throwable x)
  {
    LOG.info("Exception while notifying listener " + listener, x);
  }
}
origin: org.eclipse.jetty.aggregate/jetty-all-server

  public void processBinding(Node node, App app) throws Exception
  {
    LOG.info("processBinding {} {}",node,app.getContextHandler());
  }
}
origin: org.eclipse.jetty.aggregate/jetty-all-server

public void bindUserTransaction (WebAppContext context)
throws Exception
{
  try
  {
    Transaction.bindToENC();
  }
  catch (NameNotFoundException e)
  {
    LOG.info("No Transaction manager found - if your webapp requires one, please configure one.");
  }
}

origin: org.eclipse.jetty/jetty-deploy

  @Override
  public void processBinding(Node node, App app) throws Exception
  {
    LOG.info("processBinding {} {}",node,app.getContextHandler());
  }
}
origin: org.eclipse.jetty/jetty-client

private void notifyContent(Request.ContentListener listener, Request request, ByteBuffer content)
{
  try
  {
    listener.onContent(request, content);
  }
  catch (Throwable x)
  {
    LOG.info("Exception while notifying listener " + listener, x);
  }
}
origin: org.eclipse.jetty/jetty-client

  private void notifyFailure(Request.FailureListener listener, Request request, Throwable failure)
  {
    try
    {
      listener.onFailure(request, failure);
    }
    catch (Throwable x)
    {
      LOG.info("Exception while notifying listener " + listener, x);
    }
  }
}
org.eclipse.jetty.util.logLoggerinfo

Javadoc

Logs the given message at info level, with Throwable information.

Popular methods of Logger

  • debug
    Logs the given Throwable information at debug level
  • isDebugEnabled
  • warn
    Logs the given Throwable information at warn level
  • ignore
    Ignore an exception.This should be used rather than an empty catch block.
  • getName
  • getLogger
  • setDebugEnabled
    Mutator used to turn debug on programmatically.

Popular in Java

  • Creating JSON documents from java classes using gson
  • getApplicationContext (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • onCreateOptionsMenu (Activity)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • Path (java.nio.file)
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now