ariba.util.log
Class Log

java.lang.Object
  extended by ariba.util.log.Log
Direct Known Subclasses:
Log, Log, Log, Log, Log, Log, Log

public class Log
extends java.lang.Object

Log messages are grouped into Loggers which can be turned on and off. All messages are sent to the log writer with is a set of other writers -- usually a file and the console.


Field Summary
static Logger aribaInternalDev
          This category is on by default within Ariba Development, but off in release builds or for the customer.
static Logger customer
          Logger for messages that are created in custom implementations of Ariba products at customer sites.
static org.apache.log4j.Level DebugLevel
           
static org.apache.log4j.Level ErrorLevel
           
static Logger fixme
          Hack category where we put messages we aren't sure what do do with yet.
static Logger http
          Log message categories for socket connect and disconnect reporting.
static Logger httpServlet
          Log message categories for servlet related logging.
static Logger i18n
          Logger for internationalization and localized resource related messages.
static org.apache.log4j.Level InfoLevel
           
static Logger lruCheck
          Logger to turn on and report on consistency checks on LRUHashtables.
static Logger lruDebug
          Logger for LRUHashtable debugging.
static Logger lruPurge
          Logger for recording objects being removed from LRUHashtables.
static Logger paramReference
          Logger for parameter referencing
static Logger partner
          Logger for partner messages.
static Logger perf_log
          This category is off by default.
static Logger perf_log_detail
          This category is off by default.
static Logger perf_log_exception
          This category is off by default.
static Logger perf_log_trace
          This category is off by default.
static Logger serverOps
          Logger for client requested server operations.
static Logger shutdown
           
static Logger startup
          Logger for startup messages for all components.
static Logger startupUtil
          Logger for startup messages for the util component, which is a child of the startup Logger.
static Logger threadpool
          Logger for thread pool
static Logger util
          Logger for util class messages.
static Logger utilIO
          Logger for util I/O class messages.
static org.apache.log4j.Level WarnLevel
           
 
Method Summary
static void addConsole()
          Deprecated. There's no need to use addConsole anymore
static void logException(Logger category, java.lang.Exception e)
           
static void logStack(Logger category, java.lang.String msg)
           
static org.apache.log4j.Level toLevel(java.lang.String level)
          Convert string representation of level to a Level object
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DebugLevel

public static org.apache.log4j.Level DebugLevel
See Also:
Level.DEBUG

InfoLevel

public static org.apache.log4j.Level InfoLevel
See Also:
Level.INFO

WarnLevel

public static org.apache.log4j.Level WarnLevel
See Also:
Level.WARN

ErrorLevel

public static org.apache.log4j.Level ErrorLevel
See Also:
Level.ERROR

startup

public static final Logger startup
Logger for startup messages for all components.


startupUtil

public static final Logger startupUtil
Logger for startup messages for the util component, which is a child of the startup Logger.


customer

public static final Logger customer
Logger for messages that are created in custom implementations of Ariba products at customer sites.


http

public static final Logger http
Log message categories for socket connect and disconnect reporting.


httpServlet

public static final Logger httpServlet
Log message categories for servlet related logging. This is a child of the connect category.


util

public static final Logger util
Logger for util class messages.


utilIO

public static final Logger utilIO
Logger for util I/O class messages.


partner

public static final Logger partner
Logger for partner messages.


i18n

public static final Logger i18n
Logger for internationalization and localized resource related messages.


serverOps

public static final Logger serverOps
Logger for client requested server operations.


lruCheck

public static final Logger lruCheck
Logger to turn on and report on consistency checks on LRUHashtables.


lruDebug

public static final Logger lruDebug
Logger for LRUHashtable debugging.


lruPurge

public static final Logger lruPurge
Logger for recording objects being removed from LRUHashtables.


paramReference

public static final Logger paramReference
Logger for parameter referencing


fixme

public static final Logger fixme
Hack category where we put messages we aren't sure what do do with yet. There shouldn't be anything here when we ship.


aribaInternalDev

public static final Logger aribaInternalDev
This category is on by default within Ariba Development, but off in release builds or for the customer. Use it catch things that are warnings for us but not for customers. Examples are defaulters without names, or strings that aren't localized.


perf_log

public static final Logger perf_log
This category is off by default. Parent category for perf loggers. Not used directly.


perf_log_trace

public static final Logger perf_log_trace
This category is off by default. It allows turning on performance trace logging.


perf_log_detail

public static final Logger perf_log_detail
This category is off by default. It allows turning on performance trace logging.


perf_log_exception

public static final Logger perf_log_exception
This category is off by default. It allows turning on performance monitoring and logging of long running requests.


threadpool

public static final Logger threadpool
Logger for thread pool


shutdown

public static final Logger shutdown
Method Detail

addConsole

public static void addConsole()
Deprecated. There's no need to use addConsole anymore

Add the common Console Appender to the root Logger


toLevel

public static org.apache.log4j.Level toLevel(java.lang.String level)
Convert string representation of level to a Level object

See Also:
Level.toLevel(java.lang.String)

logStack

public static void logStack(Logger category,
                            java.lang.String msg)

logException

public static void logException(Logger category,
                                java.lang.Exception e)


AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.