Git Product home page Git Product logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 14, 2024
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 [email protected] on 4 Sep 2014 at 12:10

  • Added labels: ****
  • Removed labels: ****

Attachments:

from log4jdbc-log4j2.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 14, 2024
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 [email protected] on 7 Oct 2014 at 4:12

  • Added labels: ****
  • Removed labels: ****

from log4jdbc-log4j2.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 14, 2024
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 [email protected] on 31 Jan 2015 at 11:21

  • Added labels: ****
  • Removed labels: ****

from log4jdbc-log4j2.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 14, 2024

Original comment by [email protected] on 31 Jan 2015 at 11:21

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

from log4jdbc-log4j2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.