Mailing List Archive

Logging the time of receiving an sending the announcement message of BGP in quagga source code
Hi,

I am trying to modify quagga source code in a way that I can log the
time of receiving announcements message from the neighbors in BGP
protocol. I read bgpd folder codes and I have put some codes inside the
bgp_fsm.c functions. Right now I have compiled and installed the
modified source code of quagga.

My problem is that I do not know where is being saved the log messages
in the system. I am checking the quagga.log file but there is no logged
message there and I have just this messages there:


2017/12/27 12:34:41 ZEBRA: client 19 says hello and bids fair to
announce only bgp routes
2017/12/27 12:34:41 ZEBRA: Try to set TE Link Param
2017/12/27 12:34:41 ZEBRA: Try to set TE Link Param
2017/12/27 12:34:41 ZEBRA: Try to set TE Link Param
2017/12/27 12:34:41 ZEBRA: Try to set TE Link Param
2017/12/27 12:34:41 ZEBRA: Try to set TE Link Param
2017/12/27 12:34:41 ZEBRA: Try to set TE Link Param
2017/12/27 12:34:41 ZEBRA: Try to set TE Link Param

Can you please help me find where and how can I save a log whenever I
receive or send a new announcement in BGP?

Best,
Shahrooz
_______________________________________________
Quagga-dev mailing list
Quagga-dev@lists.quagga.net
https://lists.quagga.net/mailman/listinfo/quagga-dev