WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Append to xfrd log rather than truncate.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Append to xfrd log rather than truncate.
From: Xen patchbot -2.0-testing <patchbot-2.0-testing@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 03 Aug 2005 21:14:14 -0400
Delivery-date: Thu, 04 Aug 2005 01:14:41 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User iap10@xxxxxxxxxxxxxxxxxxxxx
# Node ID 30ecae4339d57d7c1c3ee04eb7f9d34df6078ecb
# Parent  2c1d48273640d539c402e3c2536ff86e1bcd805c

Append to xfrd log rather than truncate.
Signed-off-by: ian@xxxxxxxxxxxxx

diff -r 2c1d48273640 -r 30ecae4339d5 tools/xfrd/xfrd.c
--- a/tools/xfrd/xfrd.c Wed Aug  3 22:54:46 2005
+++ b/tools/xfrd/xfrd.c Thu Aug  4 01:13:46 2005
@@ -1229,7 +1229,7 @@
     static const char * LOGFILE = "/var/log/xfrd.log";
 
 #ifndef DEBUG
-    freopen(LOGFILE, "w+", stdout);
+    freopen(LOGFILE, "a+", stdout);
     fclose(stderr);
     stderr = stdout;
 #endif

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Append to xfrd log rather than truncate., Xen patchbot -2 . 0-testing <=