RE: Unhandled exception!

2006-02-20 Thread Nicko Cadell
No, log4net should just fail to locate and load the config file. I will checkin a fix for this. Cheers, Nicko > -Original Message- > From: Morten Andersen [mailto:[EMAIL PROTECTED] > Sent: 20 February 2006 17:10 > To: Log4NET User > Subject: Re: Unhandled exception! > > Should it be pos

Re: Unhandled exception!

2006-02-20 Thread Morten Andersen
Should it be possible for log4net to take a whole site down because of an exception like this? Best Regards *Morten Andersen* Developer Vianett AS | [EMAIL PROTECTED] | Office: +47 69 20 69 74 | Skype: mortander Nicko Cadell wrote: Whe

RE: Unhandled exception!

2006-02-20 Thread Nicko Cadell
When log4net loads config file via the XmlConfiguratorAttribute it always opens the file directly itself. It therefore needs to know where the application is deployed. This is known as path discovery and requires a specific CAS permission. If the application is hosted on a local drive or a network

RE: SMTPAppender

2006-02-20 Thread Nicko Cadell
Neither of the email appenders I know of send attachments, however the SimpleSmtpAppender could easily be modified to add attachments to the mail. The question would be what to include in the attachment and how to configure it all. Cheers, Nicko > -Original Message- > From: Fahad Sarwar [

RE: SMTPAppender

2006-02-20 Thread Fahad Sarwar
That's great. Thanks. Do you know if there is an appender which would allow you to send Attachments with each email that is generated. -Original Message- From: Nicko Cadell [mailto:[EMAIL PROTECTED] Sent: 20 February 2006 12:11 To: Log4NET User Subject: RE: SMTPAppender The built-in S

RE: SMTPAppender

2006-02-20 Thread Nicko Cadell
The built-in SmtpAppender does not support parameterise the subject line. There is an example appender in the 1.2.9 release that does: SimpleSmtpAppender. You can find the source for it at log4net-1_2_9\examples\net\1.0\Appenders\SampleAppendersApp\cs\src\Appen der This appender does not buffer

RE: ADO.NET appender parameters

2006-02-20 Thread Coates, Anthony
Title: RE: ADO.NET appender parameters Thanks for that, the property example was just what I was looking for. Being new to log4net I wasn't sure how to set it up/use it. Keep up the excellent work. -Original Message- From: Ron Grabowski [mailto:[EMAIL PROTECTED]] Sent: 18 February 20

SMTPAppender

2006-02-20 Thread Fahad Sarwar
Hi All,   Jsut a quick query.  When sending email log messages, using the SMTP Appender, the Subject is always constant (defined in the config file).  Is it possible to send a different Subject out depending on the message ie if i log at INFO level, send one subject header and for an ERROR