Randy Layman wrote:

>         Sadly, no.  You must stop IIS, remove the file, and restart IIS.
> Not to hard with a .bat file, however it causes outages in your
> availability.

This does not work.  Even if I stop IIS and Tomcat, I can't delete the log
file.  When I try, I get a sharing violation.  I suspect that the association of
the file to ISAPI in the registry prevents it from being manipulated outside of
Tomcat.

>
> Batch file would be something like:
> net stop "World Wide Web Publishing Service"
> del isapi.log
> net start "World Wide Web Publishing Service"
>
>         Once I got my server running, I turned the logging down to FATAL and
> it doesn't seem to grow to much.
>
>         Randy
>
> -----Original Message-----
> From: Eli Segev [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 01, 2001 3:27 PM
> To: [EMAIL PROTECTED]
> Subject: Log File isapi.log Too Big
>
> After using Tomcat with IIS 4.0 with the the ISAPI redirector for a while, I
> have realized that the log file is growing and growing.  I would like to
> empty
> the file once in a while.  Is there any clean way of doing it?
>
> --
> Eli Segev
> PTC
> (781)370-6127
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]




--
Eli Segev
PTC
(781)370-6127



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to