locked
How to purge IIS access logs RRS feed

  • 問題

  • My IIS server is setup with Windows Server 2003.  All the access logs are put at D:\access_logs.  I find that the size of such directory is over 20GB since it keeps logs from 2008 till now.  How can I purge the access logs of 2008 ?

    2009年4月23日 上午 02:39

解答

  • Dear Customer,

     

    Based on my research, IIS access log under %windir%\system32\logfiles\w3svcXXXX, you can manually delete the log file.

     

    For example: ex070306.log


    If there are any concerns and questions on the above, please feel free to let me know.


    Sincerely,

     

    Tom Zhang


    Tom Zhang – MSFT
    2009年4月30日 上午 08:49
    版主