Changeset 295 for trunk/JFCMonitor/src


Ignore:
Timestamp:
12/13/11 10:25:52 (13 years ago)
Author:
sherbold
Message:
  • JFCMonitor now uses the file jfcmonitor_%currentTimeInMilliseconds%.log instead of jfcmonitor.log to store the logged information
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JFCMonitor/src/de/ugoe/cs/eventbench/jfcmonitor/Runner.java

    r271 r295  
    2424        /** 
    2525         * <p> 
    26          * Name of the log file. 
    27          * </p> 
    28          */ 
    29         private final static String logfileName = "jfcmonitor.log"; 
    30  
    31         /** 
    32          * <p> 
    3326         * Debugging variable. If set to true, the logging is also written to the 
    3427         * console. 
     
    4942         */ 
    5043        public static void main(String[] args) { 
     44                String logfileName = "jfcmonitor_" + System.currentTimeMillis() 
     45                                + ".log"; 
     46 
    5147                FileWriter writer; 
    5248                try { 
Note: See TracChangeset for help on using the changeset viewer.