org.jpublish.util
Class LogSystem

java.lang.Object
  |
  +--org.jpublish.util.LogSystem

public class LogSystem
extends java.lang.Object

The log system will attempt to find the log properties file based on the log path from the servlet init. If the file cannot be found through this method then it will look for it in the WEB-INF directory. Finally if no file can be found then it will use the BasicConfigurator.

Author:
Anthony Eden

Field Summary
static com.anthonyeden.lib.log.Logger syslog
           
 
Constructor Summary
LogSystem(java.lang.String logPathFromInit, java.io.File webInfFile)
          Construct and initialize the LogSystem.
 
Method Summary
 void load()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

syslog

public static com.anthonyeden.lib.log.Logger syslog
Constructor Detail

LogSystem

public LogSystem(java.lang.String logPathFromInit,
                 java.io.File webInfFile)
Construct and initialize the LogSystem. The constructor will call reload() to attempt a first initialization.
Parameters:
logPathFromInit - The servlet init log path or null
webInfFile - The File representing the WEB-INF directory
Method Detail

load

public void load()


Copyright (C) 2001 Anthony Eden. All Rights Reserved.