From 0c9f311b9ea1b74dceee3f2806527cad1e9ba999 Mon Sep 17 00:00:00 2001 From: Björn Michaelsen Date: Wed, 14 Oct 2009 13:40:00 +0000 Subject: #i105835# logging::Filehandler::flush flushes, logging::Logger::publish flushes all handlers --- extensions/source/logging/logger.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'extensions/source/logging/logger.cxx') diff --git a/extensions/source/logging/logger.cxx b/extensions/source/logging/logger.cxx index 69ae5fced483..66e0eb540ef0 100644 --- a/extensions/source/logging/logger.cxx +++ b/extensions/source/logging/logger.cxx @@ -230,6 +230,8 @@ namespace logging m_aHandlers.forEach< XLogHandler >( ::boost::bind( &XLogHandler::publish, _1, ::boost::cref( _rRecord ) ) ); + m_aHandlers.forEach< XLogHandler >( + ::boost::bind( &XLogHandler::flush, _1 ) ); } //-------------------------------------------------------------------- -- cgit