Register / Login
Win a copy of
Think Java: How to Think Like a Computer Scientist
this week in the
Java in General
Other Open Source Projects
customize log4j database logger
posted 11 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.