add log for debug

This commit is contained in:
wlx 2013-01-15 10:16:20 +00:00
parent 08a08118eb
commit 1c0ff69662
1 changed files with 1 additions and 0 deletions

View File

@ -79,6 +79,7 @@ class PingbackRpc
if ($next) { if ($next) {
$ret .= " " . $next->asXML(); $ret .= " " . $next->asXML();
} }
$logger->info($ret);
$ret = preg_replace('/[\s|\r|\n]+/im', ' ', $ret); $ret = preg_replace('/[\s|\r|\n]+/im', ' ', $ret);
$ret = preg_replace('/ <(h1|h2|h3|h4|h5|h6|p|th|td|li|dt|dd|pre|caption|input|textarea|button|body|borrowed|from|wordpress)[^>]*>/is', ' ', $ret); $ret = preg_replace('/ <(h1|h2|h3|h4|h5|h6|p|th|td|li|dt|dd|pre|caption|input|textarea|button|body|borrowed|from|wordpress)[^>]*>/is', ' ', $ret);