log4jdbc
log4jdbc copied to clipboard
log4jdbc is a Java JDBC driver that can log SQL and/or JDBC calls (and optionally SQL timing information) for other JDBC drivers using the Simple Logging Facade For Java (SLF4J) logging system.
Since version 6.0, the name of the class that implements java.sql.Driver in MySQL Connector/J has changed from com.mysql.jdbc.Driver to com.mysql.cj.jdbc.Driver.
I have an use case where we need to taansform the data inserted/updated to the database as well as the data retrieved from the database by the queries. I would...
 https://github.com/arthurblake/log4jdbc/blob/dc6edbdb868d86be6c679d0c982d311c4274165d/src-jdbc4/net/sf/log4jdbc/Slf4jSpyLogDelegator.java#L273 ``` StringTokenizer public StringTokenizer(String str) Constructs a string tokenizer for the specified string. The tokenizer uses the default delimiter set, which is " \t\n\r\f": the space character, the...
``` It would be very nice if you could add Markers for the events you are outputting. E.g. timing values, SQL data etc. Now everything goes into the message which...
Would be nice if there were some configuration to log the time measurements with markers instead of inside the message. This way when we use the ELK stack we can...
mariadb is very good product , Please attention to it and support on log4jdbc, thanks!
Our primary keys are stored as RAW, parameters set to PreparedStatements are byte arrays so I needed those to be dumped, just did it where your TODO was.
obviously far from finished