Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:darix
xbt-tracker
xbt_tracker_log_paths.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xbt_tracker_log_paths.patch of Package xbt-tracker
Index: Tracker/connection.cpp =================================================================== --- Tracker/connection.cpp.orig +++ Tracker/connection.cpp @@ -148,7 +148,7 @@ #endif if (m_log_access) { - static std::ofstream f("xbt_tracker_raw.log"); + static std::ofstream f("/var/log/xbt_tracker/raw.log"); f << m_server->time() << '\t' << inet_ntoa(m_a.sin_addr) << '\t' << ntohs(m_a.sin_port) << '\t' << v << std::endl; } Ctracker_input ti; @@ -257,7 +257,7 @@ { Cvirtual_binary 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 << m_server->time() << '\t' << v[5] << '\t' << s.size() << '\t' << s2.size() << '\t' << ti.m_compact << '\t' << (!ti.m_compact && ti.m_no_peer_id) << std::endl; #endif if (s2.size() + 24 < s.size())
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor