net.sf.xbus.base.core.trace
Class TraceFileRenamer

java.lang.Object
  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.

Author:
Stephan Dwel

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

TraceFileRenamer

public TraceFileRenamer()
Method Detail

main

public static void main(java.lang.String[] args)