Commit 54a73f5d authored by legoc's avatar legoc
Browse files

Corrected unselect mode

parent 17614dde
# Logging
handlers = java.util.logging.FileHandler, java.util.logging.ConsoleHandler
.level = INFO
......@@ -149,22 +149,19 @@ public class Nomad3DEditor extends Application {
try {
Logger logger = Logger.getLogger("nomad-3d");
logger.setLevel(Level.ALL);
Properties preferences = new Properties();
FileInputStream configFile = new FileInputStream("logging.properties");
preferences.load(configFile);
LogManager.getLogManager().readConfiguration(configFile);
//logger.setLevel(Level.ALL);
String logPath = System.getProperty("user.dir") + File.separator + "nomad-3d-editor.log";
FileHandler handler = new FileHandler(logPath);
handler.setFormatter(new SimpleFormatter());
logger.addHandler(handler);
logger.info("Logging into " + logPath);
} catch (Exception e) {
e.printStackTrace();
}
Logger.getLogger("nomad-3d").info("Starting " + TITLE + "...");
Logger.getLogger("nomad-3d").fine("Log at level fine enabled");
// NomadLinker.getInstance().displayProperties();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment