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:
Michael Bayne
2006-04-18 01:31:54 +00:00
parent 4bc2481662
commit 137cdfa8dd
@@ -70,7 +70,7 @@ public class EditorApp implements Runnable
String dlog = localDataDir("editor.log");
try {
PrintStream logOut = new PrintStream(
new BufferedOutputStream(new FileOutputStream(dlog)));
new BufferedOutputStream(new FileOutputStream(dlog)), true);
System.setOut(logOut);
System.setErr(logOut);
Log.info("Opened debug log '" + dlog + "'.");