Hello,

If you're using MySQL, you can add "log" setting to the configuration. For example "log = /var/log/mysql.log".

Here is some additional information: http://www.microhowto.info/howto/log_all_queries_to_a_mysql_server.html

On Nov 27, 2015 14:21, "John Smolka" <john.smolka9@gmail.com> wrote:
Hi guys,

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.
Is there any way how could I log all sql queries into a log file ?

Thanks,
John

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users