From: Andrew Dolgov Date: Wed, 24 Apr 2013 10:26:03 +0000 (+0400) Subject: reduce daemon chattiness a bit X-Git-Tag: 1.7.9~25^2~97 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=654650857ffc3e4914c9655528e1037939f75f54;p=tt-rss.git reduce daemon chattiness a bit --- diff --git a/include/rssfuncs.php b/include/rssfuncs.php index f4fa18dc..48638f57 100644 --- a/include/rssfuncs.php +++ b/include/rssfuncs.php @@ -1169,7 +1169,7 @@ } function expire_lock_files($debug) { - if ($debug) _debug("Removing old lock files..."); + //if ($debug) _debug("Removing old lock files..."); $num_deleted = 0; @@ -1186,14 +1186,14 @@ } } - if ($debug) _debug("Removed $num_deleted files."); + if ($debug) _debug("Removed $num_deleted old lock files."); } function expire_cached_files($debug) { foreach (array("simplepie", "images", "export", "upload") as $dir) { $cache_dir = CACHE_DIR . "/$dir"; - if ($debug) _debug("Expiring $cache_dir"); +// if ($debug) _debug("Expiring $cache_dir"); $num_deleted = 0; @@ -1211,7 +1211,7 @@ } } - if ($debug) _debug("Removed $num_deleted files."); + if ($debug) _debug("$cache_dir: removed $num_deleted files."); } }