cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject [6/6] cxf git commit: Flush teh print writer so results are available
Date Mon, 27 Feb 2017 19:05:25 GMT
Flush teh print writer so results are available


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/e18b4fb7
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/e18b4fb7
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/e18b4fb7

Branch: refs/heads/master
Commit: e18b4fb7d5f4f585eea1a2637c5158cd6e0c61af
Parents: 855d033
Author: Daniel Kulp <dkulp@apache.org>
Authored: Mon Feb 27 12:24:48 2017 -0500
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Mon Feb 27 14:05:08 2017 -0500

----------------------------------------------------------------------
 .../org/apache/cxf/ext/logging/event/PrintWriterEventSender.java    | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/e18b4fb7/rt/features/logging/src/main/java/org/apache/cxf/ext/logging/event/PrintWriterEventSender.java
----------------------------------------------------------------------
diff --git a/rt/features/logging/src/main/java/org/apache/cxf/ext/logging/event/PrintWriterEventSender.java
b/rt/features/logging/src/main/java/org/apache/cxf/ext/logging/event/PrintWriterEventSender.java
index 424e915..af1d91b 100644
--- a/rt/features/logging/src/main/java/org/apache/cxf/ext/logging/event/PrintWriterEventSender.java
+++ b/rt/features/logging/src/main/java/org/apache/cxf/ext/logging/event/PrintWriterEventSender.java
@@ -38,6 +38,7 @@ public class PrintWriterEventSender implements LogEventSender {
         synchronized (writer) {
             writer.print(Instant.now().toString() + " - PrintWriterEventSender");
             writer.print(LogMessageFormatter.format(event));
+            writer.flush();
         }
     }
     


Mime
View raw message