This should be logged as a debug message, not as critical
This commit is contained in:
parent
94b8ebaea7
commit
1ebc0c33bc
|
@ -1149,7 +1149,7 @@ static switch_status_t parse_xml(client_t *client)
|
||||||
switch_xml_t xml, tag, category;
|
switch_xml_t xml, tag, category;
|
||||||
|
|
||||||
if (globals.debug) {
|
if (globals.debug) {
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Debugging Return Data:\n%s\n", (char *)bdata);
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Debugging Return Data:\n%s\n", (char *)bdata);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((xml = switch_xml_parse_str((char *)bdata, len))) {
|
if ((xml = switch_xml_parse_str((char *)bdata, len))) {
|
||||||
|
|
Loading…
Reference in New Issue