public interface ILogManager
extends com.norconex.commons.lang.config.IXMLConfigurable
Modifier and Type | Method and Description |
---|---|
void |
backup(String namespace,
Date backupDate)
Backups the log for the given name space, and time stamps it with
the given date.
|
Appender |
createAppender(String namespace)
Creates a Log4J appender for the given name space.
|
InputStream |
getLog(String namespace)
Gets the log for the given namespace.
|
InputStream |
getLog(String namespace,
String jobId)
Gets the log for the given namespace and job identifier.
|
Appender createAppender(String namespace) throws IOException
namespace
- namespace of the executing contextIOException
- problem creating the appenderInputStream getLog(String namespace) throws IOException
namespace
- namespace of the executing contextIOException
- problem getting logInputStream getLog(String namespace, String jobId) throws IOException
namespace
- namespace of the executing contextjobId
- job identifierIOException
- problem getting logvoid backup(String namespace, Date backupDate) throws IOException
getLog(String)
method.namespace
- namespace of the executing contextbackupDate
- date of this backupIOException
- problem creating backupCopyright © 2007–2021 Norconex Inc.. All rights reserved.