public class RelativePathFileHandler extends FileHandler
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.Constructor and Description |
---|
RelativePathFileHandler() |
close, publish
flush, isLoggable, setEncoding, setOutputStream
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, reportError, setErrorManager, setFilter, setFormatter, setLevel
public RelativePathFileHandler() throws IOException
IOException
Copyright © 2014, Oracle and/or its affiliates. All rights reserved.