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