From: Matteo Nastasi (mop) Date: Sun, 27 Mar 2011 15:34:15 +0000 (+0200) Subject: error_log removed X-Git-Tag: 3.5.0~1 X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=254c175a7e331947c69794aa7a0248caa47e32f5;hp=6ac968e021ff7c9f6014e8c59ee66b83b0bd87ae;p=brisk.git error_log removed --- diff --git a/web/admin.php b/web/admin.php index 6c65f9e..efeb744 100644 --- a/web/admin.php +++ b/web/admin.php @@ -51,7 +51,7 @@ class ImpPoints // error_log("TTOK: ".count($arr), 0); if (count($arr) != 20) { - error_log("COUNT: ".count($arr)); + // error_log("COUNT: ".count($arr)); return FALSE; } @@ -271,4 +271,4 @@ echo "$cont"; - \ No newline at end of file + diff --git a/web/briskin5/Obj/briskin5.phh b/web/briskin5/Obj/briskin5.phh index 1d8d0d9..cfac962 100644 --- a/web/briskin5/Obj/briskin5.phh +++ b/web/briskin5/Obj/briskin5.phh @@ -579,8 +579,7 @@ class Bin5_user extends User { static function load_data($tab_id, $id, $sess) { - // error_log("Bin5_user::load_data BEGIN", 0); - error_log("Bin5_user::load_data BEGIN id [".$id."]", 0); + // error_log("Bin5_user::load_data BEGIN id [".$id."]", 0); log_main("load_data: tab_id [".$tab_id."] id [".$id."] sess [".($sess == FALSE ? "FALSE" : $sess)."] "); @@ -645,7 +644,7 @@ class Bin5_user extends User { $shm = FALSE; // var_dump($user); - error_log("Bin5_user::save_data BEGIN id [".$id."]", 0); + // error_log("Bin5_user::save_data BEGIN id [".$id."]", 0); if (($tok = @ftok(FTOK_PATH."/bin5/table".$tab_id."/user".$id, "B")) == -1) { return (FALSE); diff --git a/web/briskin5/index_rd.php b/web/briskin5/index_rd.php index 6da2eb0..a1cbd56 100644 --- a/web/briskin5/index_rd.php +++ b/web/briskin5/index_rd.php @@ -93,7 +93,7 @@ function maincheck($sess, $cur_stat, $cur_subst, $cur_step, &$new_stat, &$new_su return (FALSE); } - error_log("maincheck: step di i [".$proxy_step['i']."]", 0); + // error_log("maincheck: step di i [".$proxy_step['i']."]", 0); // log_rd2("M"); /* Sync check (read only without modifications */ @@ -364,6 +364,12 @@ for ($i = 0 ; time() < $endtime ; $i++) { echo '_'; flush(); } + } + +$s = "[".$sess."] briskin5/index_rd.php stats: "; +foreach ($S_load_stat as $key => $value) { + $s .= sprintf("%s: %d - ", $key, $value); } +log_crit($s); ?> diff --git a/web/briskin5/statadm.php b/web/briskin5/statadm.php index c40a2e2..2ece714 100644 --- a/web/briskin5/statadm.php +++ b/web/briskin5/statadm.php @@ -262,7 +262,7 @@ function main_pgsql($curtime) $mtc_sql = sprintf("SELECT * from %sbin5_matches WHERE code = %d", $G_dbpfx, $tmt_obj->code); - error_log($mtc_sql, 0); + // error_log($mtc_sql, 0); if (($mtc_pg = pg_query($bdb->dbconn->db(), $mtc_sql)) == FALSE || pg_numrows($mtc_pg) != 1) { log_crit("statadm: matches row select failed"); break;