Hi!, Using JDBCAppender is there a way to configure NDC contexs to db column . I have two piece of information for each client that i want to log as NDC.
I looked at some resources for log4j and found mapping of other fields for
eg. thread, time stamp, severity, meassage etc.
For e.g.
log4j.appender.R.sql=INSERT INTO JDBCTEST (Date, Logger, Priority, Message)
VALUES ('%d', '%c', '%p', '%m')
I would appreciate any help on this.
Regards,
Shiraz Zaidi
