Commit 3db555fa authored by Fardale's avatar Fardale

quick correction for log

parent 214c6870
......@@ -61,7 +61,7 @@ $(BIN)%.class : $(SRC)%.java
# Hack pour bin/
hack :
@mkdir -p bin;
@mkdir -p bin/log;
buildplay: all
cd bin/; java -cp $(LIB)*:. graphics.guiSkeleton.Igniter_Main
......
......@@ -19,9 +19,9 @@ public class Logging implements Serializable{
fh = new FileHandler("log/Logging.log",true);
fh.setFormatter(new SimpleFormatter());
LOG.addHandler(fh);
ch = new ConsoleHandler();
ch.setFormatter(new SimpleFormatter());
LOG.addHandler(ch);
//ch = new ConsoleHandler();
//ch.setFormatter(new SimpleFormatter());
//LOG.addHandler(ch);
} catch (SecurityException | IOException e){
LOG.severe("Impossible d'accéder au fichier de log");
}
......
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