|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jcorporate.expresso.kernel.LogManager
New LogManager implementation. Loads and configures log4j and also provides classloader reloading capabilities if you wish to have log4j low on the classloader hierarchy and want your webapps to reload ok.
| Field Summary | |
static long |
lastChecked
|
| Constructor Summary | |
protected |
LogManager()
Default Constructor. |
|
LogManager(String logConfigFile,
String logDirectory)
Construct the log manager given the location of the file and log directory |
|
LogManager(URL logConfigFile,
String logDirectory)
Constructs and initializes the logging system given the URL of a config file [Classloader friendly] and destination of the log directory |
| Method Summary | |
static void |
destroy()
Destroy the lastUsed Map |
protected void |
initialize(URL loggingConfiguration,
String loggingDirectory)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static long lastChecked
| Constructor Detail |
protected LogManager()
public LogManager(String logConfigFile,
String logDirectory)
logConfigFile - may be null if you initialize log4j through some other
way such as static class resource, or system property.logDirectory - may be null if you don't expand any expresso-related
macros in the logging file.
public LogManager(URL logConfigFile,
String logDirectory)
logConfigFile - cannot be nulllogDirectory - may be null if you don't expand any expresso-related
macros in the logging file.| Method Detail |
public static void destroy()
protected void initialize(URL loggingConfiguration,
String loggingDirectory)
|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||