[
https://issues.apache.org/jira/browse/LOG4NET-221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dominik Psenner closed LOG4NET-221.
-----------------------------------
Resolution: Invalid
Fix Version/s: (was: 1.2 Maintenance Release)
Agreed.
> Store log in database using log4net
> -----------------------------------
>
> Key: LOG4NET-221
> URL: https://issues.apache.org/jira/browse/LOG4NET-221
> Project: Log4net
> Issue Type: Wish
> Affects Versions: 1.2.10
> Environment: Win XP, Visual studio 2005 (framework 2.0)
> Reporter: Mai Lam
>
> Hi master,
> Please help me: how to store log in database (MS SQL) using log4net. I want
> to store log in a table with structure as following:
> Table: Order
> Columns:
> + OrderID (int)
> + Volume (int)
> + Price (Decimal)
> + Side (Char)
> I found the configuration file that declare connection string, command text,
> parameters. But i don't know to implement.
> Is there the way to pass parameters into Info method? ex: Log.Info(OrderID,
> Volume, Price, Side). I've already review source code of log4net, but i don't
> know how to override Info method with multiple parameters
> Please help me. Thank a lot
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira