<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div>Hello all,<br><br></div>I'm trying to log some information during the bird process execution.<br></div>I'm doing it in the bgp section.<br><br></div>I used the command:<br><br></div>log(L_INFO "** some text **"); <br><br></div>with success, i added to the log some information about an integer variable with success, here it is the code:<br><br></div>int a = 5;<br></div>log(L_INFO "** some text ** %d", a);<br><br></div>Now i'm trying to make the same with a double variable but without success<br><br></div>double a = 5.5;<br></div>log(L_INFO "** some text ** %lf", a);<br><br></div>the output was:<br><br>2018-03-30 18:09:12.270 <INFO> ** some text ** %f<br><br></div>I had already tried with %f instead of %lf but nothing changed in the output<br><br></div>How can i log some double value? i need to use another function instead of log()?<br><br></div>Thanks,<br></div>Mattia<br><div><div><div><div><div><div><div><div><div><div><div><div><div><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div>