locked
IIS 7.0 Advanced Logging: Is 1 Log File per Website Possible? RRS feed

  • Question

  • User-97460252 posted

    We currently have normal IIS Logging enabled with the "One log file per: Site" option selected, allowing each website to have its own log files. I just set up IIS Advanced Logging and cannot find a comparable option. Advanced Logging for all websites is being done in a single file. How can I set up Advanced Logging so that each website will have its own log files?

    Here's how things currently stand:

    • At the machine level, I enabled Advanced Logging and specified a log directory of D:\Logs.
    • For each website, I specified a unique log directory, e.g. D:\Logs\Website1.
    • After these changes were made, I restarted IIS using the command prompt by running iisreset, and successfully received the expected stop/start responses.
    • All logging is still being done in a single log file in the directory D:\Logs. No new log files have been created in the website-specific directories.

    Windows Server 2008, IIS 7.0

    Wednesday, May 11, 2016 2:41 PM

All replies

  • User-567250801 posted

    .

    IN IIS Manager,

    I click default web site, then logging, open feature, then i did this,

    then I do  this,

    .I did the same as the other website. each has its own directory for log files.

    Tuesday, June 14, 2016 7:11 AM