Tabnine Logo
Logger.debug
Code IndexAdd Tabnine to your IDE (free)

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

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

Refine searchRefine arrow

  • Logger.isDebugEnabled
  • Logger.warn
  • Logger.ignore
origin: org.eclipse.jetty/jetty-webapp

@Override
public Class<?> loadClass(String name) throws ClassNotFoundException
{
  if (_notFound.contains(name))
  {
    if (LOG.isDebugEnabled())
      LOG.debug("Not found cache hit resource {}",name);
    throw new ClassNotFoundException(name+": in notfound cache");
  }
  try
  {
    return super.loadClass(name);
  }
  catch (ClassNotFoundException nfe)
  {
    if (_notFound.add(name))
      if (LOG.isDebugEnabled())
      {
        LOG.debug("Caching not found {}",name);
        LOG.debug(nfe);
      }
    throw nfe; 
  }
}
origin: org.eclipse.jetty/jetty-webapp

    : _locations.isIncludedAndNotExcluded(location);
if (LOG.isDebugEnabled())
  LOG.debug("match {} from {} byName={} byLocation={} in {}",clazz,location,byName,byLocation,this);
LOG.warn(e);
origin: org.eclipse.jetty/jetty-webapp

LOG.warn("Can't generate resourceBase as part of webapp tmp dir name: " + e);
LOG.debug(e);
origin: org.eclipse.jetty/jetty-webapp

    LOG.warn(new Throwable()); // TODO throw ISE?
    LOG.warn(new Throwable()); // TODO throw ISE?
if (s.startsWith("t"))
  LOG.warn("Deprecated boolean load-on-startup.  Please use integer");
  order = 1;
    LOG.warn("Cannot parse load-on-startup " + s + ". Please use integer");
    LOG.ignore(e);
if (roleName != null && roleName.length() > 0 && roleLink != null && roleLink.length() > 0)
  if (LOG.isDebugEnabled()) LOG.debug("link role " + roleName + " to " + roleLink + " for " + this);
  switch (context.getMetaData().getOrigin(name+".servlet.role-name."+roleName))
origin: org.eclipse.jetty/jetty-security

  /**
   * Close an existing connection
   */
  private void closeConnection ()
  {
    if (_con != null)
    {
      if (LOG.isDebugEnabled()) LOG.debug("Closing db connection for JDBCUserRealm");
      try { _con.close(); }catch (Exception e) {LOG.ignore(e);}
    }
    _con = null;
  }
}
origin: org.eclipse.jetty/jetty-util

  JLOG.warn(msg,cause);
  JLOG.warn(msg);
  JLOG.debug(msg,cause);
  JLOG.debug(msg);
JLOG.ignore(cause);
return;
origin: org.eclipse.jetty/jetty-util

private synchronized void unhook()
{
  try
  {
    _hooked=false;
    Runtime.getRuntime().removeShutdownHook(this);
  }
  catch(Exception e)
  {
    LOG.ignore(e);
    LOG.debug("shutdown already commenced");
  }
}

origin: org.eclipse.jetty/jetty-webapp

@Override
public boolean isSystemResource(String name, URL url)
{
  if (_systemClasses == null)
    loadSystemClasses();
  boolean result = _systemClasses.match(name,url);
  if (LOG.isDebugEnabled())
    LOG.debug("isSystemResource=={} {} {}",result,name,url);
  return result;
}
origin: org.eclipse.jetty/jetty-webapp

            if (LOG.isDebugEnabled()) LOG.debug("{} in mapping {} from defaults descriptor is overridden by ",ps,sm,servletName);
            LOG.warn("Duplicate mapping from {} to {}", p, servletName);
            if (LOG.isDebugEnabled()) LOG.debug("Removed empty mapping {}",sm);
            listItor.remove();
            if (LOG.isDebugEnabled()) LOG.debug("Removed path {} from mapping {}", p,sm);
if (LOG.isDebugEnabled()) LOG.debug("Added mapping {} ",mapping);
_servletMappings.add(mapping);
return mapping;
origin: org.eclipse.jetty/jetty-util

  if (LOG.isDebugEnabled())
    LOG.debug("ALIAS abs={} can={}",abs,can);
LOG.warn("bad alias for {}: {}",file,e.toString());
LOG.debug(e);
try
  LOG.ignore(e2);
  throw new RuntimeException(e);
origin: org.eclipse.jetty/jetty-util

private void startReservedThread()
{
  try
  {
    while (true)
    {
      // Not atomic, but there is a re-check in ReservedThread.run().
      int pending = _pending.get();
      int size = _size.get();
      if (pending + size >= _capacity)
        return;
      if (_pending.compareAndSet(pending, pending + 1))
      {
        if (LOG.isDebugEnabled())
          LOG.debug("{} startReservedThread p={}", this, pending + 1);
        _executor.execute(new ReservedThread());
        return;
      }
    }
  }
  catch(RejectedExecutionException e)
  {
    LOG.ignore(e);
  }
}
origin: org.eclipse.jetty/jetty-util

public String toReplacedString()
{
  if (!isUtf8SequenceComplete())
  {
    _codep=0;
    _state = UTF8_ACCEPT;
    try
    {
      _appendable.append(REPLACEMENT);
    }
    catch(IOException e)
    {
      throw new RuntimeException(e);
    }
    Throwable th= new NotUtf8Exception("incomplete UTF8 sequence");
    LOG.warn(th.toString());
    LOG.debug(th);
  }
  return _appendable.toString();
}
origin: org.eclipse.jetty/jetty-webapp

if (LOG.isDebugEnabled())
  LOG.debug("Not found cache hit resource {}",name);
return null;
  if (LOG.isDebugEnabled())
    LOG.debug("Caching not found resource {}",name);
  _notFound.add(name);
origin: org.eclipse.jetty/jetty-webapp

if(LOG.isDebugEnabled())
  LOG.debug("addJar - {}", fn);
String fnlc=fn.getName().toLowerCase(Locale.ENGLISH);
LOG.warn(Log.EXCEPTION,ex);
origin: org.eclipse.jetty/jetty-util

    if (LOG.isDebugEnabled())
      LOG.debug("run {}", job);
    runJob(job);
    if (LOG.isDebugEnabled())
      LOG.debug("ran {}", job);
    if (Thread.interrupted())
LOG.ignore(e);
LOG.warn(e);
    LOG.warn("Unexpected thread death: {} in {}", this, QueuedThreadPool.this);
origin: org.eclipse.jetty/jetty-util

private Runnable reservedWait()
  if (LOG.isDebugEnabled())
    LOG.debug("{} waiting", this);
          LOG.ignore(e);
      if (LOG.isDebugEnabled())
        LOG.debug("{} IDLE", this);
      tryExecute(STOP);
  if (LOG.isDebugEnabled())
    LOG.debug("{} task={}", this, task);
origin: org.eclipse.jetty/jetty-util

LOG.warn(e.toString());
LOG.debug(Log.EXCEPTION,e);
return new BadResource(url,e.toString());
origin: org.eclipse.jetty/jetty-webapp

@Override
public boolean isSystemClass(Class<?> clazz)
{
  if (_systemClasses == null)
    loadSystemClasses();
  boolean result = _systemClasses.match(clazz);
  if (LOG.isDebugEnabled())
    LOG.debug("isSystemClass=={} {}",result,clazz);
  return result;
}
origin: org.eclipse.jetty/jetty-webapp

    LOG.warn(new Throwable()); // TODO throw ISE?
if (LOG.isDebugEnabled())
  LOG.debug("ContextParam: " + name + "=" + value);
origin: org.eclipse.jetty/jetty-util

if (LOG.isDebugEnabled())
  LOG.debug("Starting java.nio file watching with {}",watchService);
    if (LOG.isDebugEnabled())
      LOG.debug("Waiting for poll({})", wait_time);
    key = wait_time<0?watch.take():wait_time>0?watch.poll(wait_time,updateQuietTimeUnit):watch.poll();
      LOG.warn(e);
      LOG.ignore(e);
org.eclipse.jetty.util.logLoggerdebug

Javadoc

Formats and logs at debug level. avoids autoboxing of integers

Popular methods of Logger

  • isDebugEnabled
  • warn
    Logs the given Throwable information at warn level
  • info
    Logs the given Throwable information at info 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

  • Making http post requests using okhttp
  • putExtra (Intent)
  • setContentView (Activity)
  • addToBackStack (FragmentTransaction)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now