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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
Similar Threads
Duplicate entries in request.getParameter() --- URGENT
c:if tag
Column count doesn't match value count at row 1
Object creation using dynamic values stored in local variables
Struts ActionMessage not displaying multiple dynamic values