WEB4J Development Tools 4.10.0.0

hirondelle.web4jtools.logview.directories
Class LogInfo

Object
  extended by hirondelle.web4jtools.logview.directories.LogInfo

public final class LogInfo
extends Object

Basic information on logging directories.

This tool can examine both your applictation logs, and the logs of your server (such as Tomcat).


Constructor Summary
LogInfo(SafeText aProjectName, SafeText aAppLogDir, SafeText aServerLogDir, SafeText aServerLogStartsWith)
          Full constructor.
 
Method Summary
 boolean equals(Object aThat)
           
 SafeText getAppLoggingDirectory()
           
 SafeText getProjectName()
           
 SafeText getServerLogFileStartsWith()
           
 SafeText getServerLoggingDirectory()
           
 int hashCode()
           
 String toString()
          Intended for debugging only.
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LogInfo

public LogInfo(SafeText aProjectName,
               SafeText aAppLogDir,
               SafeText aServerLogDir,
               SafeText aServerLogStartsWith)
        throws ModelCtorException
Full constructor.

Parameters:
aProjectName - simple name or alias for the project, displayed as a reminder (required).
aAppLogDir - directory containing application log files (required); existing directory, ending in a separator; any files having no size (such as .lck files) will be ignored, while all other files in this directory will be considered log files.
aServerLogDir - directory containing your server's log files (required); existing directory, ending in a separator.
aServerLogStartsWith - server log files of interest have file names starting with this text (for example, 'localhost'); for Tomcat, several log files are generated, but it is almost always the case that only one kind of log file has items of interest.
Throws:
ModelCtorException
Method Detail

getAppLoggingDirectory

public SafeText getAppLoggingDirectory()

getProjectName

public SafeText getProjectName()

getServerLoggingDirectory

public SafeText getServerLoggingDirectory()

getServerLogFileStartsWith

public SafeText getServerLogFileStartsWith()

toString

public String toString()
Intended for debugging only.

Overrides:
toString in class Object

equals

public boolean equals(Object aThat)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

WEB4J Development Tools 4.10.0.0

Copyright Hirondelle Systems - Generated 2013Oct19.12.26