This is a good start. Now let's see your SmtpAppenderFATAL appender node and maybe one or two of the logger nodes that reference it.
--- Usman Uppal <[EMAIL PROTECTED]> wrote: > There is no error message in the log file. File is attached. > > > -----Original Message----- > From: Ron Grabowski [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 27, 2005 3:20 PM > To: Log4NET User > Subject: Re: LOG4NET - SMTP Appender Not Working > > What happens when you turn on internal debugging? > > http://tinyurl.com/c5qqh > http://www.mail-archive.com/log4net-user%40logging.apache.org/msg02306.h > tml > > You'll probably get an error saying you don't have permission to > create > an CDO object. > > --- Usman Uppal <[EMAIL PROTECTED]> wrote: > > > Hi, I am a LOG4NET configuration file to log information into a log > > file > > and send email to SMTP server. Logging information is successfully > > getting logged into the log file but email via SMTP Host is not > > working. > > Is there anyway to debug why email delivery is not working? I have > > checked SMTP server, looks like LOG4Net is not even hitting the > > server, > > there is no email waiting to be delivered. > > > > > > > > I can also ping the SMTP host where my application is installed and > > can > > send email via outlook. > > > > > > > > > > > > Usman > > > > > > > > > > > > log4net: log4net assembly [log4net, Version=1.2.0.30714, > Culture=neutral, PublicKeyToken=null]. Loaded from [d:\program > files\TEST sweeper processor\batch\log4net.dll]. (.NET Runtime > [1.1.4322.2300] on Microsoft Windows NT 5.2.3790.0) > log4net: DefaultRepositorySelector: defaultRepositoryType > [log4net.Repository.Hierarchy.Hierarchy] > log4net: DefaultRepositorySelector: Creating repository for assembly > [AccountProcessor, Version=1.0.2092.19622, Culture=neutral, > PublicKeyToken=null] > log4net: DefaultRepositorySelector: Assembly [AccountProcessor, > Version=1.0.2092.19622, Culture=neutral, PublicKeyToken=null] Loaded > From [D:\Program Files\TEST Sweeper > Processor\Batch\AccountProcessor.exe] > log4net: DefaultRepositorySelector: Assembly [AccountProcessor, > Version=1.0.2092.19622, Culture=neutral, PublicKeyToken=null] does > not have a DomainAttribute specified. > log4net: DefaultRepositorySelector: Assembly [AccountProcessor, > Version=1.0.2092.19622, Culture=neutral, PublicKeyToken=null] using > domain [log4net-default-domain] and repository type > [log4net.Repository.Hierarchy.Hierarchy] [snip]
