How to customize error log format in ProxySQL?

Viewed 656

I've notice some syntax error in my proxysql error log (/var/lib/proxysql/proxysql.log):

Error during query on (0,1.2.3.4,3306): 1064, syntax error, unexpected '-'

But they're report only the error and not the query that cause it.

Is it possible to include in the proxysql.log also the query?

Eventually log only the queries that go in error?

1 Answers
Related