hirondelle.web4jtools.logview.directories
Class LogInfo
Object
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).
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
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
Copyright Hirondelle Systems - Generated 2013Oct19.12.26