CloseLogFiles

This method causes the IISLog component to close open log files.

Syntax

CloseLogFiles( IOMode )

 

Parameters
IOMode
A Long that indicates which log file or files should be closed. It can take one of the following values:
Constant Value Description
ForReading 1 Closes log files that have been opened for reading.
ForWriting 2 Closes log files that have been opened for writing.
AllOpenFiles 32 Closes all open log files.