From: Jeff Godin Date: Wed, 2 Jul 2014 15:36:01 +0000 (-0400) Subject: LP#1336825 Fix log level on find_service warning X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=5f7b7c7d49d1cb0f565fdb79dcd68d6051332c0f;p=working%2FSIPServer.git LP#1336825 Fix log level on find_service warning Sip::Configuration::find_service tries to log a warning when it does not find a matching service defined for a given address/port/protocol tuple. This uses the correct LOG_WARNING log level, ensuring that the desired message is logged. Thanks to Jason Boyer for catching this! Signed-off-by: Jeff Godin Signed-off-by: Galen Charlton --- diff --git a/Sip/Configuration.pm b/Sip/Configuration.pm index 4f36f1a..a673fb9 100644 --- a/Sip/Configuration.pm +++ b/Sip/Configuration.pm @@ -111,7 +111,7 @@ sub find_service { } push @misses, $portstr; } - Sys::Syslog::syslog("LOG_WARN", "find_service: No match in: " . join(' ',@misses)); + Sys::Syslog::syslog("LOG_WARNING", "find_service: No match in: " . join(' ',@misses)); return; }