#include <gzcompressaction.h>
◆ GZCompressAction()
log4cxx::rolling::GZCompressAction::GZCompressAction |
( |
const File & |
source, |
|
|
const File & |
destination, |
|
|
bool |
deleteSource |
|
) |
| |
◆ ~GZCompressAction()
log4cxx::rolling::GZCompressAction::~GZCompressAction |
( |
| ) |
|
◆ execute()
◆ setThrowIOExceptionOnForkFailure()
void log4cxx::rolling::GZCompressAction::setThrowIOExceptionOnForkFailure |
( |
bool |
throwIO | ) |
|
Set to true to throw an IOException on a fork failure.
By default, this is true. When an IOException is thrown, this will automatically cause the error handler to be called(which is the recommended way of handling this
problem). By setting this to false, the GZCompressAction effectively turns into a FileRenameAction if any errors are encountered.
- Parameters
-
The documentation for this class was generated from the following file: