summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-01-03 11:28:15 -1000
committerEvan Prodromou <evan@status.net>2010-01-03 11:28:15 -1000
commitbfa3aa0e7f39ba9b8ff920c480efb4cf52007532 (patch)
tree9e670d994408edf8a27f40a20e3f61a6713a9d0f /lib
parent1053abd2e8db40505483e1798ceabec77fe93126 (diff)
Remove logging from default cache
Diffstat (limited to 'lib')
-rw-r--r--lib/cache.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/cache.php b/lib/cache.php
index 23657bbf3..253839fb1 100644
--- a/lib/cache.php
+++ b/lib/cache.php
@@ -120,10 +120,7 @@ class Cache
if (Event::handle('StartCacheGet', array(&$key, &$value))) {
if (array_key_exists($key, $this->_items)) {
- common_log(LOG_INFO, 'Cache HIT for key ' . $key);
$value = $this->_items[$key];
- } else {
- common_log(LOG_INFO, 'Cache MISS for key ' . $key);
}
Event::handle('EndCacheGet', array($key, &$value));
}
@@ -148,7 +145,6 @@ class Cache
if (Event::handle('StartCacheSet', array(&$key, &$value, &$flag,
&$expiry, &$success))) {
- common_log(LOG_INFO, 'Setting cache value for key ' . $key);
$this->_items[$key] = $value;
@@ -175,7 +171,6 @@ class Cache
if (Event::handle('StartCacheDelete', array(&$key, &$success))) {
if (array_key_exists($key, $this->_items[$key])) {
- common_log(LOG_INFO, 'Deleting cache value for key ' . $key);
unset($this->_items[$key]);
}
$success = true;