Register / Login
Win a copy of
Functional Reactive Programming
this week in the
Other Open Source Projects
customize log4j database logger
posted 12 years ago
I am very new to the log4j package. Does anyone know how to customize the log4j property so that I can have additional columns in my log table and pass in values from my
code? Is there any documentation out there on this?
log4j.appender.A1.sql=INSERT INTO LOG (Date, Logger, Priority, Message) VALUES ('%d', '%c', '%p', '%m')
this is the default in the examples I've seen but I really need to customize this.
Any help is greatly apprecited
remove log4j appender from an API
Log4J Debug levels and over-riding
Customize Logger Problem
Create user wise Log file.