From 137cdfa8ddb295fcb6fcb7b096905f8118d90c05 Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Tue, 18 Apr 2006 01:31:54 +0000 Subject: [PATCH] Flush our log output after every line. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4025 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- src/java/com/threerings/stage/tools/editor/EditorApp.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/com/threerings/stage/tools/editor/EditorApp.java b/src/java/com/threerings/stage/tools/editor/EditorApp.java index eb1310062..3481ff6ad 100644 --- a/src/java/com/threerings/stage/tools/editor/EditorApp.java +++ b/src/java/com/threerings/stage/tools/editor/EditorApp.java @@ -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 + "'.");