From 3a9b99ca26fccb43910325d3c1fa2a44d8fb8915 Mon Sep 17 00:00:00 2001 From: boccioli_m Date: Tue, 9 Jun 2015 14:27:57 +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 cd992b3..2918e91 100644 --- a/plugins/TestingList.java +++ b/plugins/TestingList.java @@ -95,13 +95,14 @@ public class TestingList extends Panel { public class NetbeansPluginPanel extends MonitoredPanel { Logger logger = Logger.getLogger("TestsLog"); - String TESTS_DEFAULT_DIR = FilenameUtils.separatorsToSystem("\\home\\script\\tests\\production"); + String TESTS_DEFAULT_DIR = FilenameUtils.separatorsToSystem("/home/script/tests/production"); + String LOG_DEFAULT_DIR = FilenameUtils.separatorsToSystem("\\home\\script\\tests\\log\\TestsLog.txt"); private void initLogger(){ try { FileHandler fh; // This block configure the logger with handler and formatter - fh = new FileHandler(new java.io.File( "." ).getCanonicalPath() + "\\home\\script\\tests\\log\\TestsLog.txt"); + fh = new FileHandler(new java.io.File( "." ).getCanonicalPath() + LOG_DEFAULT_DIR); logger.addHandler(fh); SimpleFormatter formatter = new SimpleFormatter(); fh.setFormatter(formatter);