[
https://issues.apache.org/jira/browse/LOG4NET-141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894141#action_12894141
]
Lowe, Loren commented on LOG4NET-141:
-------------------------------------
Hi,
I have been looking at the log4net api and DO NOT see how to
set the Connection property directly (as the documentation states). I do not
have access to the Connection string property directly, but want to just set
the connection i.e. AdoNetAppender.Connection = MyApp.MyDal.Connection.
Can this be done?
The information contained in this message may be privileged and confidential
and protected from disclosure. If the reader of this message is not the
intended recipient, or an employee or agent responsible for delivering this
message to the intended recipient, you are hereby notified that any
dissemination, distribution or copying of this communication is strictly
prohibited. If you have received this communication in error, please notify us
immediately by replying to the message and deleting it from your computer.
Under Florida law, e-mail addresses are public records. If you do not want your
e-mail address released in response to a public-records request, do not send
electronic mail to this entity. Instead, contact this office by phone or in
writing.
> Add CreateConnection method to AdoNetAppender to allow subclasses to have
> control of IDbConnection.
> ---------------------------------------------------------------------------------------------------
>
> Key: LOG4NET-141
> URL: https://issues.apache.org/jira/browse/LOG4NET-141
> Project: Log4net
> Issue Type: Improvement
> Components: Appenders
> Reporter: Ron Grabowski
> Assignee: Ron Grabowski
> Priority: Minor
> Fix For: 1.2.11
>
> Attachments: LOG4NET-141_AdoNetAppender.patch
>
>
> The IDbConnection is created in the private method
> InitializeDatabaseConnection. Use the Connection property to set the
> connection object does not work when a reconnect is required. Add a
> CreateConnection method to allow sub-classes that handle creating their own
> connection.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.