|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.xbus.base.core.trace.TraceFileRenamer
public class TraceFileRenamer
The TraceFileRenamer
class is for renaming the trace file by
adding a timestamp.
This serves for preventing to large trace files. The class just consists of a
main
method. This method checks the actual trace file size
against a configured maximally desired size and renames the file if its size
is too big.
The next trace entry after a rename will construct a new trace file with the
configured original name.
If no trace file name or no maximal length specification is found in the
configuration, nothing is done.
Constructor Summary | |
---|---|
TraceFileRenamer()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TraceFileRenamer()
Method Detail |
---|
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |