From afbe35bc8d3bd669a15467619d2d7f945081979b Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 24 May 2007 14:07:12 +0000 Subject: [PATCH] Append rather than truncate for filter log files --- src/filter_log.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/filter_log.cpp b/src/filter_log.cpp index 46e993f..a93c7cd 100644 --- a/src/filter_log.cpp +++ b/src/filter_log.cpp @@ -1,4 +1,4 @@ -/* $Id: filter_log.cpp,v 1.31 2007-05-22 19:45:58 adam Exp $ +/* $Id: filter_log.cpp,v 1.32 2007-05-24 14:07:12 adam Exp $ Copyright (c) 2005-2007, Index Data. This file is part of Metaproxy. @@ -445,7 +445,7 @@ void yf::Log::Impl::option_write(const char *name, void *handle) yf::Log::Impl::LFile::LFile(std::string fname) : - m_fname(fname), fout(fname.c_str()), out(fout) + m_fname(fname), fout(fname.c_str(),std::ios_base::app), out(fout) { } -- 1.7.10.4