[ 
https://issues.apache.org/jira/browse/LOG4NET-221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13084584#comment-13084584
 ] 

Dominik Psenner commented on LOG4NET-221:
-----------------------------------------

There's no possibility to store these exact columns. Since log4net is a logging 
facility that bases on the idea of logging messages, it is not suited at all 
for this kind of operation.

Should this issue be closed and marked as invalid?

> 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
>             Fix For: 1.2.10
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to