Class TraceFileRenamer

  extended by net.sf.xbus.base.core.trace.TraceFileRenamer

public class TraceFileRenamer
extends java.lang.Object

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.

Stephan Dwel

Constructor Summary
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)