[SR-Users] logging core keywords

Julien julien.linphone at gmail.com
Wed Dec 10 14:54:30 CET 2014


Hi,
I'm still stuck with this issue.
How can I log 'dst_ip' for example ?

Thanks.
Le 05/11/2014 17:52, Julien a écrit :
> Hi,
> I can't log some core keyword like 'dst_ip', 'src_ip'.
> I try with
>> xlog("L_ALERT","ALERT: dst_ip: dsr_ip\n "); # ==> that just print dst_ip
>> $var(x)=dst_ip                        # ==>the config file is not 
>> valid due to this line
>> xlog("L_ALERT","ALERT: dst_ip: $var(x)\n ");
>
> I found $Ri to match src_ip and $si to match src_ip, that I can log.
>> xlog("L_ALERT","ALERT: dst_ip: $Ri\n");
>> xlog("L_ALERT","ALERT: src_ip: $si\n");
>
> Is it the good way to print theses variables ?
>
> Thanks
>

-- 
Julien Barreau




More information about the sr-users mailing list