org.apache.manifoldcf.core.system
Class Logging

java.lang.Object
  extended by org.apache.manifoldcf.core.system.Logging
Direct Known Subclasses:
Logging, Logging

public class Logging
extends java.lang.Object

This class furnishes the logging environment for the JSKW application.


Field Summary
static java.lang.String _rcsid
           
static org.apache.log4j.Logger cache
           
static org.apache.log4j.Logger db
           
static org.apache.log4j.Logger keystore
           
static org.apache.log4j.Logger lock
           
static org.apache.log4j.Logger misc
           
static org.apache.log4j.Logger perf
           
static org.apache.log4j.Logger root
           
 
Constructor Summary
Logging()
           
 
Method Summary
static org.apache.log4j.Logger getLogger(java.lang.String loggerName)
          Get a logger given a logger name.
static void initializeLoggers()
          Set up loggers used by core package.
static void initializeLoggingSystem(java.io.File logConfigFile)
          Initialize logger setup.
static org.apache.log4j.Logger newLogger(java.lang.String s)
          Register a new logger.
static void setLogLevels()
          Reset all loggers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Constructor Detail

Logging

public Logging()
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()
Reset all loggers


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.