[SR-Users] logging core keywords
Julien
julien.linphone at gmail.com
Wed Nov 5 17:52:41 CET 2014
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