Hi list.
I have a strange problem with syslog. Kamailio doesn't send any messages to syslog from UDP workers that are bound to sock=127.0.0.1:5060. Neither LM_DBG() from a source code nor xlog("any level", "") works.
I use kamailio-3.2.4 with this opions: log_stderror=no debug=3.
With log_stderror=yes kamailio writes all debug messages to stderr without any problems.
On 02/01/2013 11:38 AM, Vitaliy Aleksandrov wrote:
Hi list.
I have a strange problem with syslog. Kamailio doesn't send any messages to syslog from UDP workers that are bound to sock=127.0.0.1:5060. Neither LM_DBG() from a source code nor xlog("any level", "") works.
I use kamailio-3.2.4 with this opions: log_stderror=no debug=3.
With log_stderror=yes kamailio writes all debug messages to stderr without any problems.
I was wrong in my conclusions It looks like only the first udp listener has the described problem. "children" parameter was set to 1 and after it was changed to 5 UDP syslog showed debug messages that were sent by newly added workers.
So the real problem in logging to a syslog from the first UDP worker regardless of interface it bound to (eth0, lo).
Does anybody have any idea what can cause this problem ?
On 02/04/2013 06:07 PM, Klaus Darilion wrote:
On 04.02.2013 11:26, Vitaliy Aleksandrov wrote:
The problem was caused by memlog and memdbg options.
So, how the problem is triggered and how did you solved it?
regards Klaus
Both memlog and memdbg were removed from a kamailio config as I don't need them for now. Unfortunately I didn't have a chance to spent more time on resolving this issue yet.