home › Forums › # Technical Support › logging.properties problem › Reply To: logging.properties problem
Was able to get it to run by making some changes to fuzzylite.java:
static {
FileInputStream inputStream = null;
String configurationFile = “logging.properties”;
// final InputStream inputStream = FuzzyLite.class.getResourceAsStream(configurationFile);
try {
inputStream = new FileInputStream(configurationFile);
LogManager.getLogManager().readConfiguration(inputStream);
} catch (Exception ex) {
System.out.println(String.format(“WARNING: Could not load default %s file”, configurationFile));
System.out.println(ex);
}
Had to make similar changes to Method2() in SimpleDimmer.java for it to read the engine config from SimpleDimmer.fll.
So new to java that I am not entirely comfortable with these changes, but it works.
Steve