From 3c11bf4d8cb486c39a223522b3f4319cbf7f8448 Mon Sep 17 00:00:00 2001 From: fros4943 Date: Wed, 4 Feb 2009 17:58:17 +0000 Subject: [PATCH] start each log file with its filename --- tools/cooja/java/se/sics/cooja/plugins/ScriptRunner.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/cooja/java/se/sics/cooja/plugins/ScriptRunner.java b/tools/cooja/java/se/sics/cooja/plugins/ScriptRunner.java index 8f6d1954b..14443df62 100644 --- a/tools/cooja/java/se/sics/cooja/plugins/ScriptRunner.java +++ b/tools/cooja/java/se/sics/cooja/plugins/ScriptRunner.java @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: ScriptRunner.java,v 1.10 2009/01/08 16:31:43 fros4943 Exp $ + * $Id: ScriptRunner.java,v 1.11 2009/02/04 17:58:17 fros4943 Exp $ */ package se.sics.cooja.plugins; @@ -610,6 +610,7 @@ public class ScriptRunner implements Plugin { /* Prepare test log */ logWriter = new BufferedWriter(new FileWriter(log)); + logWriter.write("[" + log.getName() + "]\n\n"); /* Create script engine */ engine = new LogScriptEngine(gui);