<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><div>Hello,</div><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family:arial, helvetica, sans-serif;font-size:10pt;"><div style="color:black;font-family:arial, helvetica, sans-serif;font-size:10pt;"><br></div><div style="color:black;font-family:arial, helvetica, sans-serif;font-size:10pt;">From my opinion, the logging itself will be a performance killer, not appending the pseudo variables to the log string - which should consist just in fast memory operations.</div><div style="color:black;font-family:arial, helvetica, sans-serif;font-size:10pt;">Make sure you have "-" before the filename though for asynchronous writing to the log file (syslog.conf).</div><div><font class="Apple-style-span"
 face="arial, helvetica, sans-serif" size="2">Finally, you might want to consider turning lowering the debug
 level&nbsp;(e.g. set debug level to 2)&nbsp;when you switch to production.</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"><br></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">Best regards,</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">Marius</font></div><div style="font-family:arial, helvetica, sans-serif;font-size:10pt;color:black;"><br><div style="font-family:arial, helvetica, sans-serif;font-size:10pt;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight:bold;">From:</span></b> Bernhard Suttner &lt;bernhard.suttner@winet.ch&gt;<br><b><span style="font-weight:bold;">To:</span></b> sr-users@lists.sip-router.org<br><b><span style="font-weight:bold;">Sent:</span></b> Sat, January 29, 2011 11:02:40 PM<br><b><span style="font-weight:bold;">Subject:</span></b> [SR-Users] xlogl and pseudo
 variables<br></font><br>
Hi,<br><br>I am using xlogl for debugging and logging the most important actions within the kamailio script. Does it take much resources if I use the pseudo variables with the xlogl statements? Example:<br><br>xlogl("L_NOTICE", "Route $rm to destination! F=$fu T=$tu IP=$si \n");<br><br>I´m planning to do this in all the xlogl statements to be able to debug / "see whats going on" on the system.<br><br>Thanks in advance.<br><br>Best regard,<br>Bernhard<br><br>_______________________________________________<br>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br><a rel="nofollow" ymailto="mailto:sr-users@lists.sip-router.org" target="_blank" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br><span><span><a target="_blank" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a></span></span><br></div></div><div
 style="color:black;font-family:arial, helvetica, sans-serif;font-size:10pt;"></div>


</div><br>







      </div></div><div style="position:fixed"></div>


</div><br>

      </body></html>