Flush our log output after every line.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4025 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -70,7 +70,7 @@ public class EditorApp implements Runnable
|
|||||||
String dlog = localDataDir("editor.log");
|
String dlog = localDataDir("editor.log");
|
||||||
try {
|
try {
|
||||||
PrintStream logOut = new PrintStream(
|
PrintStream logOut = new PrintStream(
|
||||||
new BufferedOutputStream(new FileOutputStream(dlog)));
|
new BufferedOutputStream(new FileOutputStream(dlog)), true);
|
||||||
System.setOut(logOut);
|
System.setOut(logOut);
|
||||||
System.setErr(logOut);
|
System.setErr(logOut);
|
||||||
Log.info("Opened debug log '" + dlog + "'.");
|
Log.info("Opened debug log '" + dlog + "'.");
|
||||||
|
|||||||
Reference in New Issue
Block a user