Replies: 1 comment 4 replies
-
|
@polad Did you find a way around this issue? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
It seems like the ability to restrict debugging to certain packet types is not supported as in
mysqljs/mysql.From the docs: mysqljs/mysql - Debugging and reporting problems
It's possible in
mysqljs/mysqlto pass an array of packet types (i.e. packet constructor names) using thedebugoption:This was implemented in
mysqljs/mysqla while back. Here is the PR from 2013: mysqljs/mysql#413I looked through the code under
mysql2/liband all I could find was only checks for a boolean flag like:I was hoping to see in debug output all SQL queries that
mysql2sends to the server but settingdebug: trueprints too much noise like client/server handshakes, raw data packets, etc..Any suggestions how I can print only the SQL queries in debug output?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions