jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r704551 - /jackrabbit/sandbox/spi/spi-logger/src/main/java/org/apache/jackrabbit/spi/logger/RepositoryServiceLogger.java
Date Tue, 14 Oct 2008 14:43:14 GMT
Author: angela
Date: Tue Oct 14 07:43:13 2008
New Revision: 704551

URL: http://svn.apache.org/viewvc?rev=704551&view=rev
Log:
call Writer#flush() after writing log information

Modified:
    jackrabbit/sandbox/spi/spi-logger/src/main/java/org/apache/jackrabbit/spi/logger/RepositoryServiceLogger.java

Modified: jackrabbit/sandbox/spi/spi-logger/src/main/java/org/apache/jackrabbit/spi/logger/RepositoryServiceLogger.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/spi/spi-logger/src/main/java/org/apache/jackrabbit/spi/logger/RepositoryServiceLogger.java?rev=704551&r1=704550&r2=704551&view=diff
==============================================================================
--- jackrabbit/sandbox/spi/spi-logger/src/main/java/org/apache/jackrabbit/spi/logger/RepositoryServiceLogger.java
(original)
+++ jackrabbit/sandbox/spi/spi-logger/src/main/java/org/apache/jackrabbit/spi/logger/RepositoryServiceLogger.java
Tue Oct 14 07:43:13 2008
@@ -684,6 +684,7 @@
                 }
                 b.append("\r\n");
                 log.write(b.toString());
+                log.flush();
             } catch (IOException e) {
                 // ignore
             }



Mime
View raw message