- Timestamp:
- 08/27/12 15:53:25 (12 years ago)
- Location:
- trunk/quest-plugin-mfc/src/main/java/de/ugoe/cs/quest/plugin/mfc
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/quest-plugin-mfc/src/main/java/de/ugoe/cs/quest/plugin/mfc/EventGenerator.java
r619 r639 12 12 import java.util.Map; 13 13 import java.util.NoSuchElementException; 14 import java.util.logging.Level; 14 15 15 16 import org.jdom.Document; … … 192 193 } 193 194 194 Console.traceln( currentEvent.getType().toString() + " matched");195 Console.traceln(Level.FINE, currentEvent.getType().toString() + " matched"); 195 196 } 196 197 else { … … 199 200 } 200 201 if (!isMatch) { 201 Console.traceln( "no match found for sequence: " + sequence.toString());202 Console.traceln(Level.WARNING, "no match found for sequence: " + sequence.toString()); 202 203 } 203 204 … … 905 906 int index = target.lastIndexOf("<"); 906 907 if (index == 0) { 907 Console.traceln( "Trying to adress parent of top-level window! Replay " +908 Console.traceln(Level.WARNING, "Trying to adress parent of top-level window! Replay " + 908 909 "probably invalid!"); 909 910 } -
trunk/quest-plugin-mfc/src/main/java/de/ugoe/cs/quest/plugin/mfc/LogPreprocessor.java
r581 r639 6 6 import java.io.IOException; 7 7 import java.io.OutputStreamWriter; 8 import java.util.logging.Level; 8 9 9 10 import org.apache.commons.codec.binary.Base64; … … 130 131 for (String filename : folder.list()) { 131 132 String source = absolutPath + "/" + filename; 132 Console.traceln( "Processing file: " + source);133 Console.traceln(Level.INFO, "Processing file: " + source); 133 134 processFile(source, targetFile); 134 135 } -
trunk/quest-plugin-mfc/src/main/java/de/ugoe/cs/quest/plugin/mfc/MFCLogParser.java
r619 r639 15 15 import java.util.SortedMap; 16 16 import java.util.TreeMap; 17 import java.util.logging.Level; 17 18 18 19 import javax.xml.parsers.ParserConfigurationException; … … 250 251 { 251 252 if (qName.equals("session")) { 252 Console.traceln( "start of session");253 Console.traceln(Level.FINE, "start of session"); 253 254 // in some logs, the session end may be marked in between the log. This is because 254 255 // of thread problems. So instead of creating a new GUI model, preserve it. … … 332 333 } 333 334 catch (InvalidParameterException e) { 334 Console.traceln( e.getMessage() + " WindowsMessage " + currentMessageType +335 Console.traceln(Level.WARNING, e.getMessage() + " WindowsMessage " + currentMessageType + 335 336 " ignored."); 336 337 } … … 343 344 sequences.add(seq); 344 345 } 345 Console.traceln( "end of session");346 Console.traceln(Level.FINE, "end of session"); 346 347 } 347 348 } -
trunk/quest-plugin-mfc/src/main/java/de/ugoe/cs/quest/plugin/mfc/SequenceSplitter.java
r619 r639 4 4 import java.util.LinkedList; 5 5 import java.util.List; 6 import java.util.logging.Level; 6 7 7 8 import de.ugoe.cs.quest.eventcore.Event; … … 97 98 if (msg.getType().isKeyMessage() && openDowns > 0) { 98 99 Console 99 .traceln( "Key message found with open down mouse messages - will probabably result in a faulty sequence.");100 .traceln(Level.SEVERE, "Key message found with open down mouse messages - will probabably result in a faulty sequence."); 100 101 } 101 102 }
Note: See TracChangeset
for help on using the changeset viewer.