Have a look at the following mail
http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]
.apache.org&msgNo=613

Use the GetAllAppenders() method to find your ADONetAppender.
Set the ConnectionString property on the appender, then call the
ActivateOptions() method.

Nicko

> -----Original Message-----
> From: Derrick Morin [mailto:[EMAIL PROTECTED] 
> Sent: 29 October 2004 21:33
> To: [email protected]
> Subject: Setting ADONetAppender.ConnectionString at runtime
> 
> In our asp.net application we are base64encoding all ado.net 
> connection strings so that database usernames and passwords 
> are not available anywhere as clear text.  Since we also rely 
> on the ADONetAppender for logging I need a way to set this 
> connection string at runtime instead of relying on  <param 
> name="ConnectionType" value="..."> in web.config.  Any thoughts?
> 

Reply via email to