arthurblake / log4jdbc

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.
516 stars 147 forks source link

Can it filter the logging by table name? #67

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
We have quartz job in our app, it need access the db very frequently. Is there 
a setting we can add which tells log4jdbc don't log the queries to those quartz 
tables. 

Original issue reported on code.google.com by robin....@gmail.com on 16 Jan 2014 at 7:06

GoogleCodeExporter commented 9 years ago
Nothing is currently built in, but you could probably make a simple 
modification to log4jdbc to get it working; perhaps with a regular expression. 
You might even be able to do it external to log4jdbc using your logging 
software (depending on what library you use.)

Original comment by arthur.b...@gmail.com on 16 Jan 2014 at 7:11