Class Logging

  • Direct Known Subclasses:
    Logging, Logging

    public class Logging
    extends java.lang.Object
    This class furnishes the logging environment for ManifoldCF.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String _rcsid  
      static org.apache.log4j.Logger cache  
      static org.apache.log4j.Logger db  
      static org.apache.log4j.Logger diagnostics  
      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

      Constructors 
      Constructor Description
      Logging()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      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​(IThreadContext threadContext)
      Reset all loggers
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • 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
    • 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.
      • 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.