Module: sip-router
Branch: master
Commit: 849744c6ed72f324839ae4e02ae48393324bac51
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=849744c…
Author: Ovidiu Sas <osas(a)voipembedded.com>
Committer: Ovidiu Sas <osas(a)voipembedded.com>
Date: Fri Oct 3 15:19:35 2014 -0400
stats.h: logging: convert LOG to LM_*
---
stats.h | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/stats.h b/stats.h
index 2eea3a8..4159184 100644
--- a/stats.h
+++ b/stats.h
@@ -49,8 +49,7 @@
case METHOD_BYE: stats->dir##_requests_bye++; break; \
case METHOD_INFO: stats->dir##_requests_info++; break; \
case METHOD_OTHER: stats->dir##_requests_other++; break; \
- default: LOG(L_ERR, "ERROR: unknown method in rq stats (%s)\n", \
- #dir); \
+ default: LM_ERR("unknown method in rq stats (%s)\n", #dir); \
} \
}while(0)
@@ -80,8 +79,7 @@
_statusline(4, dir) \
_statusline(5, dir) \
_statusline(6, dir) \
- default: LOG(L_INFO, "ERROR: unusual status code"\
- " received in stats (%s)\n", #dir); \
+ default: LM_INFO("unusual status code received in stats
(%s)\n", #dir); \
} \
}while(0)