Class Log
The "org.eclipse.jetty.util.log.class" system property can be used to select a specific logging implementation.
If the system property org.eclipse.jetty.util.log.IGNORED is set, then ignored exceptions are logged in detail.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LoggergetLog()Deprecated.static LoggerDeprecated.Obtain a named Logger based on the fully qualified class name.static LoggerDeprecated.Obtain a named Logger or the default Logger if null is passed.Deprecated.Get a map of all configuredLoggerinstances.static PropertiesDeprecated.static LoggerDeprecated.Get the root logger.static voidDeprecated.static voidDeprecated.Set the root logger.static voidsetLogToParent(String name) Deprecated.Set Log to parent Logger.
-
Field Details
-
EXCEPTION
Deprecated.- See Also:
-
IGNORED
Deprecated.- See Also:
-
__logClass
Deprecated.TheLoggerimplementation class name -
__ignored
public static boolean __ignoredDeprecated.Legacy flag indicating ifLogger.ignore(Throwable)methods produce any output in theLoggers
-
-
Constructor Details
-
Log
public Log()Deprecated.
-
-
Method Details
-
initialized
public static void initialized()Deprecated. -
getLog
Deprecated. -
setLog
Deprecated.Set the root logger.Note that if any classes have statically obtained their logger instance prior to this call, their Logger will not be affected by this call.
- Parameters:
log- the root logger implementation to set
-
getRootLogger
Deprecated.Get the root logger.- Returns:
- the root logger
-
setLogToParent
Deprecated.Set Log to parent Logger.If there is a different Log class available from a parent classloader, call
getLogger(String)on it and construct aLoggerLoginstance as this Log's Logger, so that logging is delegated to the parent Log.This should be used if a webapp is using Log, but wishes the logging to be directed to the containers log.
If there is not parent Log, then this call is equivalent to
Log.setLog(Log.getLogger(name));
- Parameters:
name- Logger name
-
getLogger
Deprecated.Obtain a named Logger based on the fully qualified class name.- Parameters:
clazz- the class to base the Logger name off of- Returns:
- the Logger with the given name
-
getLogger
Deprecated.Obtain a named Logger or the default Logger if null is passed.- Parameters:
name- the Logger name- Returns:
- the Logger with the given name
-
getLoggers
Deprecated.Get a map of all configuredLoggerinstances.- Returns:
- a map of all configured
Loggerinstances
-
getProperties
Deprecated.
-