Committer: ailyin
LJSUP-7831 ([internal] remove literal [memcache-profile] from memcache profile logs)U trunk/cgi-bin/LJ/MemCache.pm
Modified: trunk/cgi-bin/LJ/MemCache.pm =================================================================== --- trunk/cgi-bin/LJ/MemCache.pm 2011-01-31 09:53:46 UTC (rev 18152) +++ trunk/cgi-bin/LJ/MemCache.pm 2011-01-31 09:59:24 UTC (rev 18153) @@ -275,7 +275,7 @@ $key =~ s/\b\d+\b/?/g; - print $logfile "[memcache-profile] $funcname($key) " . + print $logfile "$funcname($key) " . ( defined $result ? '[hit]' : '[miss]' ) . "\n"; };