Open GoogleCodeExporter opened 8 years ago
I had a go at implementing logging of SQL Messages and tested it in our
Liquibase implementation with SLF4J and JDBC 4.1. Print statements log
successfully.
It is just a start on the full implementation. For example, I did not implement
the Log4J 2 logging method (the method is empty) as I am not familiar with
Log4J 2.
I also have not implemented logging of SQL Message the JDBC 3 and 4 modules.
Please see the attached Patch for Subversion.
Original comment by steven.d...@gmail.com
on 4 Sep 2014 at 12:10
Attachments:
Thanks for the proposed patch. Question: if you plan to use a specific logger
for these messages, why defining the property DumpSqlMessage? This could be
managed simply by setting the appropriate logger on/off, right?
Original comment by frederic...@gmail.com
on 7 Oct 2014 at 4:12
Actually, I see that SQLWarnings should be logged by the 'resultSetLogger' when
using SLF4J, and with the Marker 'LOG4JDBC_RESULTSET' when using Log4j2. Have
you tried using these loggers/markers?
Original comment by frederic...@gmail.com
on 31 Jan 2015 at 11:21
Original comment by frederic...@gmail.com
on 31 Jan 2015 at 11:21
Original issue reported on code.google.com by
steven.d...@gmail.com
on 3 Sep 2014 at 5:50Attachments: