[cig-commits] r12972 - cs/stats/trunk
sue at geodynamics.org
sue at geodynamics.org
Tue Sep 30 11:24:00 PDT 2008
Author: sue
Date: 2008-09-30 11:24:00 -0700 (Tue, 30 Sep 2008)
New Revision: 12972
Modified:
cs/stats/trunk/get_all.cxx
Log:
Make get_all.cxx use access_log, not the access.log.* files, since those are deleted after a year.
Modified: cs/stats/trunk/get_all.cxx
===================================================================
--- cs/stats/trunk/get_all.cxx 2008-09-26 07:49:17 UTC (rev 12971)
+++ cs/stats/trunk/get_all.cxx 2008-09-30 18:24:00 UTC (rev 12972)
@@ -179,13 +179,7 @@
list<fs::path> logs;
/* Add the Apache logs */
- for(fs::directory_iterator
- i("/var/log/apache2");
- i!=boost::filesystem::directory_iterator(); ++i)
- {
- if(i->leaf().substr(0,7)=="access.")
- logs.push_back(*i);
- }
+ logs.push_back("/var/log/apache2/access_log");
/* Add all of the Zope logs */
for(fs::directory_iterator
More information about the cig-commits
mailing list