com.endeca.soleng.eac.toolkit.logging
Class RelativePathFileHandler
java.lang.Object
java.util.logging.Handler
java.util.logging.StreamHandler
java.util.logging.FileHandler
com.endeca.soleng.eac.toolkit.logging.RelativePathFileHandler
public class RelativePathFileHandler
- extends java.util.logging.FileHandler
This class extends FileHandler
, allowing the use of a
relative path for logging. Specifically, this class looks for an
"endeca.project.dir" system property or, if none is found, a
"ENDECA_PROJECT_DIR" environment variable and uses the retrieved
value as the base directory for logging (creating log files under
that directory). If neither the system property not the environment
variable is set, the relative path defaults to the current working
directory.
- Author:
- brandall
Methods inherited from class java.util.logging.FileHandler |
close, publish |
Methods inherited from class java.util.logging.StreamHandler |
flush, isLoggable, setEncoding, setOutputStream |
Methods inherited from class java.util.logging.Handler |
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, reportError, setErrorManager, setFilter, setFormatter, setLevel |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RelativePathFileHandler
public RelativePathFileHandler()
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2011 Endeca Technologies, Inc. All Rights Reserved.
@VERSION
PRODUCT: EAC Toolkit (eacToolkit)
VERSION: 3.2.1
BUILD: NONE
ARCH_OS: n/a
DATE: 2011-11-10T16:21:05-0500