[Serusers] Log URI

Daniel-Constantin Mierla daniel at iptel.org
Thu Jul 1 12:44:09 CEST 2004


If you don't get the message in your syslog you have the debug level 
lower than L_INFO, which I guess is 3 or 4. You can try L_ERR or lower 
-- e.g.,  xlog("L_ERR", "....");

Daniel

On 7/1/2004 12:34 PM, Steve Blair wrote:

>
> Daniel:
>
>   Try
>
>  loadmodule "/usr/local/lib/ser/modules/xlog.so"          # xlog module
>
>  #
>  # ------------- log parameters
>  #
>
>  modparam("xlog", "buf_size", 8192)
>
>  then later in your config:
>
>  xlog("L_INFO", "\n[SER]: Lookup location: Time: [%Tf]
>          Method: <%rm> R-uri: <%ru> Call-id: < %ci> Contact Header: <%ct>
>          From uri <%fu> To < %tu> IP source address <%is> \n");
>
> -Steve
>
> Daniel-Constantin Mierla wrote:
>
>> Hello,
>> take a look at the xlog module.
>>
>> Daniel
>>
>> On 7/1/2004 10:03 AM, Martin Koenig wrote:
>>
>>> Hi List,
>>>
>>> is there a possibility to log the uri of a request via the log() 
>>> function to syslog? If yes, how can this be achieved?
>>>
>>> Thanks alot,
>>> Martin
>>>
>>> _______________________________________________
>>> Serusers mailing list
>>> serusers at lists.iptel.org
>>> http://lists.iptel.org/mailman/listinfo/serusers
>>>
>>
>> _______________________________________________
>> Serusers mailing list
>> serusers at lists.iptel.org
>> http://lists.iptel.org/mailman/listinfo/serusers
>
>
>




More information about the sr-users mailing list