From 2a36126a728f7d12eb90d03fa9a35f1f06f1cd97 Mon Sep 17 00:00:00 2001 From: boccioli_m Date: Tue, 9 Jun 2015 14:12:21 +0200 Subject: [PATCH] Closedown --- plugins/TestingList.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/TestingList.java b/plugins/TestingList.java index 3d96a1f..05492e7 100644 --- a/plugins/TestingList.java +++ b/plugins/TestingList.java @@ -99,7 +99,7 @@ public class TestingList extends Panel { try { FileHandler fh; // This block configure the logger with handler and formatter - fh = new FileHandler(getClass().getResource("/log/TestsLog").toString()); + fh = new FileHandler(new java.io.File( "." ).getCanonicalPath()); logger.addHandler(fh); SimpleFormatter formatter = new SimpleFormatter(); fh.setFormatter(formatter); @@ -115,7 +115,8 @@ public class TestingList extends Panel { } public NetbeansPluginPanel() throws IOException { - initComponents(); + initComponents(); + initLogger(); buildTable(); loadTests(); }