congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
Logger.warn
Code IndexAdd Tabnine to your IDE (free)

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

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

Refine searchRefine arrow

  • Logger.debug
  • Logger.isDebugEnabled
  • Logger.ignore
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);
    LOG.warn(new Throwable()); // TODO throw ISE?
if (roleName != null && roleName.length() > 0 && roleLink != null && roleLink.length() > 0)
      LOG.warn(new Throwable()); // TODO throw ISE?
  LOG.warn("Ignored invalid security-role-ref element: " + "servlet-name=" + holder.getName() + ", " + securityRef);
      LOG.warn(new Throwable()); // TODO throw ISE?
    LOG.warn(new Throwable()); // TODO throw ISE?
    LOG.warn(new Throwable()); // TODO throw ISE?
    LOG.warn(new Throwable()); // TODO throw ISE?
origin: org.eclipse.jetty/jetty-util

private void setFailed(Throwable th)
{
  _state = __FAILED;
  if (LOG.isDebugEnabled())
    LOG.warn(FAILED+" " + this+": "+th,th);
  for (Listener listener : _listeners)
    listener.lifeCycleFailure(this,th);
}
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 void verifyIndirectTypes(Class<?> superClazz, Class<?> clazz, String typeName)
{
  try
  {
    // Report on super class deprecation too
    while (superClazz != null && superClazz != Object.class)
    {
      Deprecated supDepr = superClazz.getAnnotation(Deprecated.class);
      if (supDepr != null)
      {
        LOG.warn("Using indirect @Deprecated {} {} - (seen from {})",typeName,superClazz.getName(),clazz);
      }
      superClazz = superClazz.getSuperclass();
    }
  }
  catch (Throwable t)
  {
    LOG.ignore(t);
  }
}
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);
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-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

if (LOG.isDebugEnabled())
    LOG.warn("Couldn't stop {}{}", unstopped, dmp.toString());
    LOG.warn("{} Couldn't stop {}",this,unstopped);
origin: org.eclipse.jetty.aggregate/jetty-all-server

@Override
protected void onException(Throwable ex)
{
  if (ex instanceof EofException)
  {
    _log.ignore(ex);
    return;
  }
  _log.warn(ex.toString());
  _log.debug(ex);
  if (!response.isCommitted())
  {
    response.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
  }
}
origin: org.eclipse.jetty/jetty-util

/** 
 * @see org.eclipse.jetty.util.preventers.AbstractLeakPreventer#prevent(java.lang.ClassLoader)
 */
@Override
public void prevent(ClassLoader loader)
{
  try
  {
    Class<?> clazz = Class.forName("sun.misc.GC");
    Method requestLatency = clazz.getMethod("requestLatency", new Class[] {long.class});
    requestLatency.invoke(null, Long.valueOf(Long.MAX_VALUE-1));
  }
  catch (ClassNotFoundException e)
  {
    LOG.ignore(e);
  }
  catch (Exception e)
  {
    LOG.warn(e);
  }
}
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

LOG.warn(e.toString());
LOG.debug(Log.EXCEPTION,e);
return new BadResource(url,e.toString());
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: com.ovea.tajin.server/tajin-server-jetty9

@Override
public int getSessions()
{
  int sessions=super.getSessions();
  if (LOG.isDebugEnabled())
  {
    if (_sessions.size()!=sessions)
      LOG.warn("sessions: "+_sessions.size()+"!="+sessions);
  }
  return sessions;
}
origin: org.eclipse.jetty/jetty-util

private void execute(Runnable task)
{
  try
  {
    _executor.execute(task);
  }
  catch (RejectedExecutionException e)
  {
    if (isRunning())
      LOG.warn(e);
    else
      LOG.ignore(e);
    if (task instanceof Closeable)
    {
      try
      {
        ((Closeable)task).close();
      }
      catch (Throwable e2)
      {
        LOG.ignore(e2);
      }
    }
  }
}
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

LOG.warn("Retrying list:"+e);
LOG.debug(e);
close();
list = listEntries();
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.logLoggerwarn

Javadoc

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

Popular methods of Logger

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

  • Creating JSON documents from java classes using gson
  • findViewById (Activity)
  • setRequestProperty (URLConnection)
  • setContentView (Activity)
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • BoxLayout (javax.swing)
  • Top plugins for WebStorm
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