public class LogUtils extends Object
Constructor and Description |
---|
LogUtils() |
Modifier and Type | Method and Description |
---|---|
static FileHandler |
createFileLogger(File logsDir,
String baseName,
Logger logger)
Creates a file logger that use heritrix.properties file logger
configuration.
|
public static FileHandler createFileLogger(File logsDir, String baseName, Logger logger)
logsDir
- Directory in which to write logs.baseName
- Base name to use for log file (Will have
java.util.logging.FileHandler.pattern or '.log' for suffix).logger
- Logger whose handler we'll replace with the
file handler created herein.Copyright © 2003-2014 Internet Archive. All Rights Reserved.