From: Joe Atzberger Date: Mon, 10 May 2010 22:27:12 +0000 (+0000) Subject: LOG_ERROR is not a valid loglevel. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=3b11f1b199fe5c1028ce9ee1973cd1bf78a16aca;p=working%2FSIPServer.git LOG_ERROR is not a valid loglevel. LOG_ERR is. --- diff --git a/Sip/MsgType.pm b/Sip/MsgType.pm index 3f3c092..78d62d2 100644 --- a/Sip/MsgType.pm +++ b/Sip/MsgType.pm @@ -1533,7 +1533,7 @@ sub send_acs_status { } elsif ($protocol_version == 2) { $msg .= '2.00'; } else { - syslog("LOG_ERROR", + syslog("LOG_ERR", 'Bad setting for $protocol_version, "%s" in send_acs_status', $protocol_version); $msg .= '1.00'; @@ -1554,7 +1554,7 @@ sub send_acs_status { } } if (length($supported_msgs) < 16) { - syslog("LOG_ERROR", 'send_acs_status: supported messages "%s" too short', $supported_msgs); + syslog("LOG_ERR", 'send_acs_status: supported messages "%s" too short', $supported_msgs); } $msg .= add_field(FID_SUPPORTED_MSGS, $supported_msgs); }