Re: [SR-Users] See XDBG and XERR Messages in Logs

2014-08-04 Thread Daniel-Constantin Mierla
Hello, they are like printf functions, with its parameters... LM_ERR("format", parameters); The format is a string with specifies (like %d, %s) to be replaced by parameters' values. Perhaps you can see many examples across other modules or core. Cheers, Daniel On 04/08/14 05:34, aawaise wr

Re: [SR-Users] See XDBG and XERR Messages in Logs

2014-08-03 Thread aawaise
Can you please explain how to use macros from dprint.h ?? I have entered xlog and xdbg commands in lookup.c file of registrar module h. So when lookup function is used on arrival of invite packet, lookup is called. -- View this message in context: http://sip-router.1086192.n5.nabble.com/See-X

Re: [SR-Users] See XDBG and XERR Messages in Logs

2014-07-28 Thread Daniel-Constantin Mierla
Can you give where the lines you added in the c code? There you should use the macros from dprint.h, like LM_ERR(...) or LM_DBG(...) Cheers, Daniel On 28/07/14 08:46, aawaise wrote: I have added some XLOG and XDBG commands in registrar module of kamailio. I want to see messages in result of

[SR-Users] See XDBG and XERR Messages in Logs

2014-07-27 Thread aawaise
I have added some XLOG and XDBG commands in registrar module of kamailio. I want to see messages in result of these commands being printed in logs to make sure that changes are being made surely. How can it be done ? I am using fedora and I see kamailio related logs in /var/log/messages.log -- V