Class Logging
- java.lang.Object
-
- org.apache.manifoldcf.core.system.Logging
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_rcsidstatic org.apache.log4j.Loggercachestatic org.apache.log4j.Loggerdbstatic org.apache.log4j.Loggerdiagnosticsstatic org.apache.log4j.Loggerkeystorestatic org.apache.log4j.Loggerlockstatic org.apache.log4j.Loggermiscstatic org.apache.log4j.Loggerperfstatic org.apache.log4j.Loggerroot
-
Constructor Summary
Constructors Constructor Description Logging()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.log4j.LoggergetLogger(java.lang.String loggerName)Get a logger given a logger name.static voidinitializeLoggers()Set up loggers used by core package.static voidinitializeLoggingSystem(java.io.File logConfigFile)Initialize logger setup.static org.apache.log4j.LoggernewLogger(java.lang.String s)Register a new logger.static voidsetLogLevels(IThreadContext threadContext)Reset all loggers
-
-
-
Field Detail
-
_rcsid
public static final java.lang.String _rcsid
- See Also:
- Constant Field Values
-
root
public static org.apache.log4j.Logger root
-
misc
public static org.apache.log4j.Logger misc
-
db
public static org.apache.log4j.Logger db
-
lock
public static org.apache.log4j.Logger lock
-
cache
public static org.apache.log4j.Logger cache
-
keystore
public static org.apache.log4j.Logger keystore
-
perf
public static org.apache.log4j.Logger perf
-
diagnostics
public static org.apache.log4j.Logger diagnostics
-
-
Method Detail
-
initializeLoggingSystem
public static void initializeLoggingSystem(java.io.File logConfigFile)
Initialize logger setup.
-
initializeLoggers
public static void initializeLoggers()
Set up loggers used by core package.
-
setLogLevels
public static void setLogLevels(IThreadContext threadContext) throws ManifoldCFException
Reset all loggers- Throws:
ManifoldCFException
-
getLogger
public static final org.apache.log4j.Logger getLogger(java.lang.String loggerName)
Get a logger given a logger name.- Parameters:
loggerName- is the logger name.- Returns:
- the logger.
-
newLogger
public static final org.apache.log4j.Logger newLogger(java.lang.String s)
Register a new logger.- Parameters:
s- is the logger name.- Returns:
- the new logger.
-
-