public class RotateLog
extends java.lang.Object
Constructor and Description |
---|
RotateLog() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getArchiveFormat()
Gets the archive format
|
Path |
getPath()
Gets the output path.
|
java.lang.String |
getPathFormat()
Gets the output path.
|
int |
getRolloverCount()
Sets the rollover count
|
RotateStream |
getRotateStream()
Returns the rotated stream.
|
java.lang.String |
getTagName()
Returns the tag name.
|
java.lang.String |
getTimestamp()
Sets the timestamp
|
void |
init()
Initialize the log.
|
void |
setArchiveFormat(java.lang.String format)
Sets the archive format.
|
void |
setHref(Path path)
Sets the output path (backward compat).
|
void |
setPath(Path path)
Sets the output path.
|
void |
setPathFormat(java.lang.String path)
Sets the output path.
|
void |
setRolloverCount(int count)
Sets the rollover count.
|
void |
setRolloverPeriod(Period period)
Sets the rollover period.
|
void |
setRolloverSize(Bytes size)
Sets the rollover size.
|
void |
setRolloverSizeBytes(long size)
Sets the rollover size.
|
public Path getPath()
public void setPath(Path path)
public java.lang.String getPathFormat()
public void setPathFormat(java.lang.String path)
public void setHref(Path path)
public void setRolloverPeriod(Period period)
public void setRolloverSize(Bytes size)
public void setRolloverSizeBytes(long size)
public int getRolloverCount()
public void setRolloverCount(int count)
public java.lang.String getTimestamp()
public java.lang.String getArchiveFormat()
public void setArchiveFormat(java.lang.String format)
public RotateStream getRotateStream()
public java.lang.String getTagName()
@PostConstruct public void init() throws ConfigException, java.io.IOException
ConfigException
java.io.IOException