You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Randy Layman <ra...@aswethink.com> on 2001/03/01 21:08:52 UTC

RE: Log File isapi.log Too Big

	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.

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:esegev@ptc.com]
Sent: Thursday, March 01, 2001 3:27 PM
To: tomcat-user@jakarta.apache.org
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, email: tomcat-user-help@jakarta.apache.org

Re: Log File isapi.log Too Big

Posted by Eli Segev <es...@ptc.com>.
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:esegev@ptc.com]
> Sent: Thursday, March 01, 2001 3:27 PM
> To: tomcat-user@jakarta.apache.org
> 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: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org




--
Eli Segev
PTC
(781)370-6127