Hi,
I would like to log some data via ADONETAppender into my own log table.
Say, my table LOG has column A(varchar(100)) and B (varchar(100)).
I do not want to log the default information such as %logger %thread %logdate etc...
instead i want to log my own A and B values into the database.
 
I am able to get it done if i only have one value , ie, A, by setting PatternLayout = "%m",
and calling the log.Debug("test"), the "test" will go into the db.
but is there a way to pass in more than 1 value?
(the worst case, i will concatenate A and B into 1 string and break it down in sql statement... but any alternative?)
 
Thank you,
 
Pat

Reply via email to