[cig-commits] r11158 - cs/stats/trunk
sue at geodynamics.org
sue at geodynamics.org
Fri Feb 15 10:24:48 PST 2008
Author: sue
Date: 2008-02-15 10:24:47 -0800 (Fri, 15 Feb 2008)
New Revision: 11158
Modified:
cs/stats/trunk/get_all.cxx
Log:
added new specfem packages
Modified: cs/stats/trunk/get_all.cxx
===================================================================
--- cs/stats/trunk/get_all.cxx 2008-02-15 15:43:41 UTC (rev 11157)
+++ cs/stats/trunk/get_all.cxx 2008-02-15 18:24:47 UTC (rev 11158)
@@ -131,15 +131,23 @@
packages["SPECFEM1D-1.0.0.tar.gz"]="Specfem1D-1.0.0";
packages["SPECFEM2D-5.2.0.tar.gz"]="Specfem2D-5.2.0";
+ packages["SPECFEM2D-5.2.0.tar.gz"]="Specfem2D-5.2.2";
packages["SPECFEM3D-1.4.2.tar.gz"]="Specfem3D-1.4.2";
+ packages["SPECFEM3D-1.4.2.tar.gz"]="Specfem3D-1.4.3";
packages["SPECFEM3D_GLOBE-4.0.0.tar.gz"]="Specfem3D-Globe-4.0.0";
const int max_size=100000;
char line[max_size];
list<fs::path> logs;
- /* Add the Apache log */
- logs.push_back("/var/log/apache2/access_log");
+ /* Add the Apache logs */
+ for(fs::directory_iterator
+ i("/var/log/apache2");
+ i!=boost::filesystem::directory_iterator(); ++i)
+ {
+ if(i->leaf().substr(0,6)=="access")
+ logs.push_back(*i);
+ }
/* Add all of the Zope logs */
for(fs::directory_iterator
More information about the cig-commits
mailing list