<p dir="ltr">Hello,</p>
<p dir="ltr">If you're using MySQL, you can add "log" setting to the configuration. For example "log = /var/log/mysql.log".</p>
<p dir="ltr">Here is some additional information: <a href="http://www.microhowto.info/howto/log_all_queries_to_a_mysql_server.html">http://www.microhowto.info/howto/log_all_queries_to_a_mysql_server.html</a></p>
<div class="gmail_quote">On Nov 27, 2015 14:21, "John Smolka" <<a href="mailto:john.smolka9@gmail.com">john.smolka9@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi guys, <br><br></div><div>I use kamailio with mysql. Some queries are huge and when I need to debug something it takes a time, so the debbuging would be easier.<br></div>Is there any way how could I log all sql queries into a log file ? <br><br>Thanks,<br></div><div>John<br></div></div>
<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div>