Oracle Fusion Middleware extensions for Seed Data Framework
11g Release 1 (11.1.2)

E22564-02

oracle.apps.fnd.applseed.rt.common.util
Class SDLoggerUtil

java.lang.Object
  extended by oracle.apps.fnd.applseed.rt.common.util.SDLoggerUtil

public class SDLoggerUtil
extends java.lang.Object

Since:
Drop 7 Please note that this code will get called during initialization, so it cannot take a dependency on any code other than the libraries that SDF requires on the system classpath (J2SE, SDF, OJDL, XML Parser).
Version:
$Header: atgpf/applseed/src/java/oracle/apps/fnd/applseed/rt/common/util/SDLoggerUtil.java /main/12 2010/11/11 20:55:18 pariga Exp $
Author:
sjanarth

Constructor Summary
SDLoggerUtil()
           
 
Method Summary
static java.util.logging.Logger getBootStrapLogger(java.lang.String rsb)
           
static java.util.logging.Logger getClassPathLogger(java.lang.String name, java.lang.String rsb)
           
static java.util.logging.Logger getMainLogger()
           
static void reInitializeMainLogger(java.lang.String filePath, java.lang.String level, boolean isDebug)
          Removes any existing handlers from the main logger and adds a new file handler.
static void removeHandlers()
          Close and remove the handlers from the logger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SDLoggerUtil

public SDLoggerUtil()
Method Detail

getMainLogger

public static java.util.logging.Logger getMainLogger()

reInitializeMainLogger

public static void reInitializeMainLogger(java.lang.String filePath,
                                          java.lang.String level,
                                          boolean isDebug)
                                   throws java.io.IOException
Removes any existing handlers from the main logger and adds a new file handler.

Parameters:
filePath -
level -
isDebug -
Throws:
java.io.IOException

getBootStrapLogger

public static java.util.logging.Logger getBootStrapLogger(java.lang.String rsb)

getClassPathLogger

public static java.util.logging.Logger getClassPathLogger(java.lang.String name,
                                                          java.lang.String rsb)

removeHandlers

public static void removeHandlers()
Close and remove the handlers from the logger


Oracle Fusion Middleware extensions for Seed Data Framework
11g Release 1 (11.1.2)

E22564-02

Copyright © 2011 Oracle. All Rights Reserved.