File xbt_tracker_log.diff of Package xbt-tracker

--- Tracker/connection.cpp	2012-07-31 19:24:06.000000000 +0200
+++ Tracker/connection.cpp	2012-08-02 15:33:07.853897970 +0200
@@ -122,7 +122,7 @@
 #endif
 	if (srv_config().m_log_access)
 	{
-		static std::ofstream f("xbt_tracker_raw.log");
+		static std::ofstream f("/var/log/xbt-tracker/raw.log");
 		f << srv_time() << '\t' << inet_ntoa(m_a.sin_addr) << '\t' << ntohs(m_a.sin_port) << '\t' << v << std::endl;
 	}
 	Ctracker_input ti;
@@ -207,7 +207,7 @@
 	{
 		shared_data s2 = xcc_z::gzip(s);
 #ifndef NDEBUG
-		static std::ofstream f("xbt_tracker_gzip.log");
+		static std::ofstream f("/var/log/xbt-tracker/gzip.log");
 		f << srv_time() << '\t' << v[5] << '\t' << s.size() << '\t' << s2.size() << std::endl;
 #endif
 		if (s2.size() + 24 < s.size())