IIS and SMTP - Multiple rows in log file

This is Interesting: Free IT Magazines  
Home > Archive > IIS and SMTP > September 2004 > Multiple rows in log file





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Multiple rows in log file
JBerling

2004-09-06, 7:51 am

Hi!

After using WinNT 4 and IIS 4 for many years we finally upgraded to Win2003
and IIS 6. We discovered that the SMTP log file writes multiple rows for each
mail, which in turn makes the log files grow at extreme speed. Is there
anyway we can get back to the old way of one row/mail? We send mail through a
smart host, if that would matter...

/Jonas
Jeff Cochran

2004-09-06, 5:50 pm

On Mon, 6 Sep 2004 03:47:01 -0700, "JBerling"
<JBerling@discussions.microsoft.com> wrote:

>After using WinNT 4 and IIS 4 for many years we finally upgraded to Win2003
>and IIS 6. We discovered that the SMTP log file writes multiple rows for each
>mail, which in turn makes the log files grow at extreme speed. Is there
>anyway we can get back to the old way of one row/mail? We send mail through a
>smart host, if that would matter...


The SMTP log writes one row for each SMTP event. Plus, it's a text
file, so having ten rows combined to one row is still the same number
of characters anyway.

Jeff
JBerling

2004-09-07, 3:05 am

Well, yesterday was the first working day the upgraded system was running in
production. For the last 5 years the size of the SMTP log file has been about
500 kb/day and yesterday, which was a day of rather low mailing frequency,
the file suddenly grew to 2.5 Mb. So it definitiely logs a lot more now than
before using the same config...

I guess we have to build a parser that can extract the important stuff from
the log file and then delete or move the original file on a daily basis.

/Jonas

"Jeff Cochran" wrote:

> On Mon, 6 Sep 2004 03:47:01 -0700, "JBerling"
> <JBerling@discussions.microsoft.com> wrote:
>
>
> The SMTP log writes one row for each SMTP event. Plus, it's a text
> file, so having ten rows combined to one row is still the same number
> of characters anyway.
>
> Jeff
>

m.marien

2004-09-12, 5:50 pm


"JBerling" <JBerling@discussions.microsoft.com> wrote in message
news:F47FC697-A794-4670-AAAD-BC9848C947CB@microsoft.com...
> Well, yesterday was the first working day the upgraded system was running
> in
> production. For the last 5 years the size of the SMTP log file has been
> about
> 500 kb/day and yesterday, which was a day of rather low mailing frequency,
> the file suddenly grew to 2.5 Mb. So it definitiely logs a lot more now
> than
> before using the same config...
>
> I guess we have to build a parser that can extract the important stuff
> from
> the log file and then delete or move the original file on a daily basis.
>


On the General tab of the SMTP Properties you can specify what file format
and what items are recorded in the log file.
[vbcol=seagreen]
> /Jonas
>
> "Jeff Cochran" wrote:
>


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com