Skip to content

livongo/log4jdbc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

120 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

log4jdbc

Forked from https://github.com/arthurblake/log4jdbc .

You can view the usage instructions at the old Google Code hosting site: https://code.google.com/p/log4jdbc/

Additinal Configuration

LOG4JDBC_SQL_SHOW_PARAMS

Controls logging of potentially sensitive information.

Either true or false (default) are allowed. Can be specified either as an OS environment variable or a Java system property (for example, -DLOG4JDBC_SQL_SHOW_PARAMS=true). Java system property takes precedence if present.

When set to false, the following will be excluded from log4jdbc logging:

  1. Prepared statement arguments. INSERT INTO People VALUES (1, John Smith); becomes INSERT INTO People VALUES (?, ?);
  2. Exceptions. Instead of logging exception messages along with stacktraces, exception class names will be appended to error messages.

About

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.

Resources

Stars

0 stars

Watchers

3 watching

Forks

Packages

 
 
 

Contributors

Languages

  • Java 97.7%
  • Batchfile 1.1%
  • Other 1.2%