Package org.apache.log4j.helpers
Class LogLog
java.lang.Object
org.apache.log4j.helpers.LogLog
Deprecated.
Apache Log4j 1 has reached end of life in 2015 and is no longer supported.
This class used to output log statements from within the log4j package.
Log4j components cannot make log4j logging calls. However, it is sometimes useful for the user to learn about what log4j is doing. You can enable log4j internal logging by defining the log4j.configDebug variable.
All log4j internal debug calls go to System.out
where as internal error messages are sent to
System.err
. All internal messages are prepended with
the string "log4j: ".
- Since:
- 0.8.2
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Deprecated.This method is used to output log4j internal debug statements.static void
Deprecated.This method is used to output log4j internal debug statements.static void
Deprecated.This method is used to output log4j internal error statements.static void
Deprecated.This method is used to output log4j internal error statements.static void
setInternalDebugging
(boolean enabled) Deprecated.Allows to enable/disable log4j internal logging.static void
setQuietMode
(boolean quietMode) Deprecated.In quite mode no LogLog generates strictly no output, not even for errors.static void
Deprecated.This method is used to output log4j internal warning statements.static void
Deprecated.This method is used to output log4j internal warnings.
-
Field Details
-
DEBUG_KEY
Deprecated.Defining this value makes log4j print log4j-internal debug statements toSystem.out
.The value of this string is log4j.debug.
Note that the search for all option names is case sensitive.
- See Also:
-
CONFIG_DEBUG_KEY
Deprecated.UseDEBUG_KEY
instead.Defining this value makes log4j components print log4j-internal debug statements toSystem.out
.The value of this string is log4j.configDebug.
Note that the search for all option names is case sensitive.
- See Also:
-
-
Constructor Details
-
LogLog
public LogLog()Deprecated.
-
-
Method Details
-
setInternalDebugging
public static void setInternalDebugging(boolean enabled) Deprecated.Allows to enable/disable log4j internal logging. -
debug
Deprecated.This method is used to output log4j internal debug statements. Output goes toSystem.out
. -
debug
Deprecated.This method is used to output log4j internal debug statements. Output goes toSystem.out
. -
error
Deprecated.This method is used to output log4j internal error statements. There is no way to disable error statements. Output goes toSystem.err
. -
error
Deprecated.This method is used to output log4j internal error statements. There is no way to disable error statements. Output goes toSystem.err
. -
setQuietMode
public static void setQuietMode(boolean quietMode) Deprecated.In quite mode no LogLog generates strictly no output, not even for errors.- Parameters:
quietMode
- A true for not
-
warn
Deprecated.This method is used to output log4j internal warning statements. There is no way to disable warning statements. Output goes toSystem.err
. -
warn
Deprecated.This method is used to output log4j internal warnings. There is no way to disable warning statements. Output goes toSystem.err
.
-