IIS Cyclic Logging Possible?
am 22.04.2008 06:05:01 von COSMO
I was wondering if there is a way to configure cyclic IIS v6 logging or the
removal of old IIS logs from the %windir%\System32\LogFiles\W3SCV1 folder, as
it's filling up the System drive and causing W2K3 OS issues.
A URL to the solution would be very handy.
Re: IIS Cyclic Logging Possible?
am 22.04.2008 08:03:39 von David Wang
On Apr 21, 9:05=A0pm, Cosmo wrote:
> I was wondering if there is a way to configure cyclic IIS v6 logging or th=
e
> removal of old IIS logs from the %windir%\System32\LogFiles\W3SCV1 folder,=
as
> it's filling up the System drive and causing W2K3 OS issues.
>
> A URL to the solution would be very handy.
There is nothing built-in to configure in IIS when it comes to log
file management.
IIS only produces log files. It is up to the administrator to
determine the policy for maintenance of the log files. IIS does not
have any features for managing log files after it has been generated,
and I am not aware of any sample policy scripts from Microsoft.
You can start by configuring IIS to log to a dedicated partition that
is not the system partition. It is a generally accepted practice to
not put log files on the system partition even if default
configuration of various servers would do that.
And then possibly schedule a hourly/daily task in the task scheduler
to deal with the log files however you wish.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//