public class Log4jLogFactory extends LogFactory
LogFactory that uses the
Apache log4j framework. This is the default implementation of logging for the
Partner system. You do not need to use this directly; it is set up for you by
the J2seBootstrap class.
Copy Copyright 2003-2006 Partner Software, Inc.
| Constructor and Description |
|---|
Log4jLogFactory() |
Log4jLogFactory(java.lang.String propertiesFile)
Creates the log factory, configuring log4j by reading either
ReadOnlyLogging.properties or Logging.properties from the first directory
it is found in from the following list:
config/seat/system/logging/
config/site/system/logging/
config/customer/system/logging/
config/provider/system/logging/
system/logging/
This allows customization of logging for a specific installation or group
of installations.
|
| Modifier and Type | Method and Description |
|---|---|
Log |
instanceFor(java.lang.Class clazz)
Return a Log object for the given class.
|
Log |
instanceFor(java.lang.String name)
Returns the correct Log instance for the given name.
|
getFactory, logFor, logFor, setFactorypublic Log4jLogFactory()
public Log4jLogFactory(java.lang.String propertiesFile)
public Log instanceFor(java.lang.Class clazz)
LogFactoryinstanceFor in class LogFactorypublic Log instanceFor(java.lang.String name)
LogFactoryinstanceFor in class LogFactory