From 1d387306e1aa68efb79e76eab4fa405ffa57f42e Mon Sep 17 00:00:00 2001 From: Jeff Godin Date: Wed, 2 Jul 2014 11:36:01 -0400 Subject: [PATCH] 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 --- Sip/Configuration.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.11.0