All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ups.xmlsdk.util.logging.LogConfigReader

java.lang.Object
   |
   +----com.ups.xmlsdk.util.logging.Logger
           |
           +----com.ups.xmlsdk.util.logging.LogConfigReader

public class LogConfigReader
extends Logger
Define a log wrapper for the primary that reads the "Log" property from an AppConfig instance at regular intervals. This property string is set in the iss options file and is of the form: Log = [, fac1:, fac2:] where severity codes (adapted from UNIX syslog) are: 0 - emergency 1 - alert 2 - critical 3 - error 4 - warning 5 - notice 6 - info 7 - debug 8 - call trace and facility codes are: av - address validation cc - credit card cms - general cms messaging db - database lbl - label generator ods - ODS pickup pld - pld messages rav - rave It allows the specification of a default logging severity and one or more modified values for individual facilities.


Variable Index

 o dateTimeFormatStr

Constructor Index

 o LogConfigReader(AppConfig, Logger)

Method Index

 o log(LogContext, String, int, String, long)

Variables

 o dateTimeFormatStr
 public static final String dateTimeFormatStr

Constructors

 o LogConfigReader
 public LogConfigReader(AppConfig config,
                        Logger primary)

Methods

 o log
 public final int log(LogContext context,
                      String facility,
                      int priority,
                      String msg,
                      long code) throws LogException
Overrides:
log in class Logger

All Packages  Class Hierarchy  This Package  Previous  Next  Index