diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-10-26 22:09:13 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-10-26 22:09:13 -0700 |
commit | 2028e1695c82685102a7eef7f75094267446a887 (patch) | |
tree | 45101cd992941eaf90f3844b49e4cf90fbb8e599 /include/notifier.php | |
parent | eb5e6aae7273fef06a06f983fe78aaad737aa729 (diff) | |
download | volse-hubzilla-2028e1695c82685102a7eef7f75094267446a887.tar.gz volse-hubzilla-2028e1695c82685102a7eef7f75094267446a887.tar.bz2 volse-hubzilla-2028e1695c82685102a7eef7f75094267446a887.zip |
rework the logging interface
Diffstat (limited to 'include/notifier.php')
-rw-r--r-- | include/notifier.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/notifier.php b/include/notifier.php index 069f3bdf2..cd75c1fff 100644 --- a/include/notifier.php +++ b/include/notifier.php @@ -343,10 +343,7 @@ continue; $params = 'hub.mode=publish&hub.url=' . urlencode($a->get_baseurl() . '/dfrn_poll/' . $owner['nickname'] ); post_url($h,$params); - if($debugging) { - file_put_contents('pubsub.out', "\n\n" . "Pinged hub " . $h . ' at ' - . datetime_convert() . "\n" . "Hub returned " . $a->get_curl_code() . "\n\n" , FILE_APPEND); - } + logger('pubsub: publish: ' . $h . ' returned ' . $a->get_curl_code()); if(count($hubs) > 1) sleep(7); // try and avoid multiple hubs responding at precisely the same time } |