From: Adam Dickmeiss Date: Thu, 24 May 2007 14:07:12 +0000 (+0000) Subject: Append rather than truncate for filter log files X-Git-Tag: METAPROXY.1.0.11~1 X-Git-Url: http://git.indexdata.com/?a=commitdiff_plain;h=afbe35bc8d3bd669a15467619d2d7f945081979b;p=metaproxy-moved-to-github.git Append rather than truncate for filter log files --- 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) { }