Author: ningjiang
Date: Thu Jun 16 03:38:08 2011
New Revision: 1136281
URL: http://svn.apache.org/viewvc?rev=1136281&view=rev
Log:
Merged revisions 1136274 via svnmerge from
https://svn.apache.org/repos/asf/cxf/branches/2.4.x-fixes
........
r1136274 | ningjiang | 2011-06-16 10:48:48 +0800 (Thu, 16 Jun 2011) | 1 line
Flush the writer make sure the message was wroten
........
Modified:
cxf/branches/2.3.x-fixes/ (props changed)
cxf/branches/2.3.x-fixes/rt/core/src/main/java/org/apache/cxf/interceptor/AbstractLoggingInterceptor.java
Propchange: cxf/branches/2.3.x-fixes/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Thu Jun 16 03:38:08 2011
@@ -1,2 +1,2 @@
-/cxf/branches/2.4.x-fixes:1135488,1135908,1135911
+/cxf/branches/2.4.x-fixes:1135488,1135908,1135911,1136274
/cxf/trunk:1135484,1135899
Propchange: cxf/branches/2.3.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.
Modified:
cxf/branches/2.3.x-fixes/rt/core/src/main/java/org/apache/cxf/interceptor/AbstractLoggingInterceptor.java
URL:
http://svn.apache.org/viewvc/cxf/branches/2.3.x-fixes/rt/core/src/main/java/org/apache/cxf/interceptor/AbstractLoggingInterceptor.java?rev=1136281&r1=1136280&r2=1136281&view=diff
==============================================================================
---
cxf/branches/2.3.x-fixes/rt/core/src/main/java/org/apache/cxf/interceptor/AbstractLoggingInterceptor.java
(original)
+++
cxf/branches/2.3.x-fixes/rt/core/src/main/java/org/apache/cxf/interceptor/AbstractLoggingInterceptor.java
Thu Jun 16 03:38:08 2011
@@ -145,6 +145,8 @@ public abstract class AbstractLoggingInt
message = transform(message);
if (writer != null) {
writer.println(message);
+ // Flushing the writer to make sure the message is wroten
+ writer.flush();
} else if (getLogger().isLoggable(Level.INFO)) {
getLogger().info(message);
}