]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix log
authorAnthony Minessale <anthony.minessale@gmail.com>
Fri, 24 Oct 2008 20:52:45 +0000 (20:52 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Fri, 24 Oct 2008 20:52:45 +0000 (20:52 +0000)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@601 a93c3328-9c30-0410-af19-c9cd2b2d52af

libs/openzap/mod_openzap/mod_openzap.c

index d20d382e3d1296663e45922779fc6a8d4e70525d..6def11afe811aa26ae8f10352d0442113afcb9d1 100644 (file)
@@ -1673,7 +1673,7 @@ static switch_status_t load_config(void)
                        }
 
                        if (zstatus != ZAP_SUCCESS) {
-                               zap_log(ZAP_LOG_ERROR, "Error finding OpenZAP span %d\n", span_id);
+                               zap_log(ZAP_LOG_ERROR, "Error finding OpenZAP span id:%s name:%s\n", switch_str_nil(id), switch_str_nil(name));
                                continue;
                        }
                        
@@ -1788,7 +1788,7 @@ static switch_status_t load_config(void)
                        }
 
                        if (zstatus != ZAP_SUCCESS) {
-                               zap_log(ZAP_LOG_ERROR, "Error finding OpenZAP span %d\n", span_id);
+                               zap_log(ZAP_LOG_ERROR, "Error finding OpenZAP span id:%s name:%s\n", switch_str_nil(id), switch_str_nil(name));
                                continue;
                        }
                        
@@ -1899,7 +1899,7 @@ static switch_status_t load_config(void)
                        }
                        
                        if (zstatus != ZAP_SUCCESS) {
-                               zap_log(ZAP_LOG_ERROR, "Error finding OpenZAP span %s %s\n", switch_str_nil(id), switch_str_nil(name));
+                               zap_log(ZAP_LOG_ERROR, "Error finding OpenZAP span id:%s name:%s\n", switch_str_nil(id), switch_str_nil(name));
                                continue;
                        }
                        
@@ -1991,7 +1991,7 @@ static switch_status_t load_config(void)
                        }
 
                        if (zstatus != ZAP_SUCCESS) {
-                               zap_log(ZAP_LOG_ERROR, "Error finding OpenZAP span %d\n", span_id);
+                               zap_log(ZAP_LOG_ERROR, "Error finding OpenZAP span id:%s name:%s\n", switch_str_nil(id), switch_str_nil(name));
                                continue;
                        }