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(); }