Accidentally used the wrong log level (LOG ERROR instead of LOG_ERR)

This commit is contained in:
Zach Copley 2010-05-24 23:27:53 +00:00
parent 1f3a16bbfb
commit 9cde924bb3

View File

@ -192,7 +192,7 @@ function handleFacebookError($e, $notice, $flink)
. "\"%s\" (Notice details: nickname=%s, user ID=%d, Facebook ID=%d, notice content=\"%s\"). " . "\"%s\" (Notice details: nickname=%s, user ID=%d, Facebook ID=%d, notice content=\"%s\"). "
. "Removing notice from the Facebook queue for safety."; . "Removing notice from the Facebook queue for safety.";
common_log( common_log(
LOG_ERROR, sprintf( LOG_ERR, sprintf(
$msg, $msg,
$notice->id, $notice->id,
$errmsg, $errmsg,
@ -232,7 +232,7 @@ function handleFacebookError($e, $notice, $flink)
. "nickname=%s, user ID=%d, Facebook ID=%d, notice content=\"%s\"). Re-queueing " . "nickname=%s, user ID=%d, Facebook ID=%d, notice content=\"%s\"). Re-queueing "
. "notice, and will try to send again later."; . "notice, and will try to send again later.";
common_log( common_log(
LOG_ERROR, sprintf( LOG_ERR, sprintf(
$msg, $msg,
$notice->id, $notice->id,
$code, $code,
@ -351,7 +351,7 @@ function updateProfileBox($facebook, $flink, $notice, $user) {
common_debug( common_debug(
'FacebookPlugin - Attempting to update profile box with ' 'FacebookPlugin - Attempting to update profile box with '
. "content from notice $notice->id for $user->nickname ($user->id)" . "content from notice $notice->id for $user->nickname ($user->id), "
. "Facebook UID: $fbuid" . "Facebook UID: $fbuid"
); );