[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



# 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.