aspose file tools*
The moose likes Other Open Source Projects and the fly likes Setting values using jdbc appender log4j Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Setting values using jdbc appender log4j" Watch "Setting values using jdbc appender log4j" New topic
Author

Setting values using jdbc appender log4j

smitha rai
Ranch Hand

Joined: Aug 15, 2001
Posts: 33
Hi,

Is there any sample java code that would set the values (val1, val2, val3). I am using following in my log4j configuration file.

log4j.appender.R5.layout.ConversionPattern=INSERT INTO Logs (Date, val1, Val2, val3) VALUES ('%d', 'val1', 'val2', 'val3')

Thanks,

Smitha
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Setting values using jdbc appender log4j