Disclaimer

Any opinions expressed here are my own and not necessarily those of my employer (I'm self-employed).

May 16, 2011

Enabling IIS log files on Windows 7

I'm baffled. IIS 7.5 does not log to files by default, you have to enable the feature manually. In the settings it's called "HTTP logging", here's how to enable it:

If you can't find IIS log files in C:\inetpub\logs you should open your IIS Manager and check if the logging option is present in the IIS menu section (top right in the screenshot).


If you can't find the Logging option, go to: Control Panel\Programs -> Turn Windows Features on or off to enable IIS logging.




I had to close the IIS Manager and open it again for the changes to take effect. Now the IIS should log to C:\inetpub\logs.

After some intense Googling, I was able to find this article by Microsoft: Enable or Disable Logging (IIS 7). It states that logging is enabled by default in IIS 7. This does not seem to be the case on my IIS 7.5 (Windows 7 Enterprise).

19 comments:

  1. Exactly what I was looking for. Thank you!!

    ReplyDelete
  2. Installed, still nog Logging icon, should I restart the f-ing server?

    ReplyDelete
  3. Great explanations!
    I was also shocked to see its not enabled by default and the Microsoft tech articles don't even mention you have to add the feature from the windows program list!

    ReplyDelete
  4. Good explanation. If you are looking more information, here is how to find iis logs

    ReplyDelete
  5. Thanks for info!

    ReplyDelete
  6. Laser printer: A great decision for a home office or little business, laser printers are a bit pricier and regularly greater, yet speedier and work out less expensive than an inkjet after some time.
    Win10Tips.Net

    ReplyDelete
  7. Then turn on the windows updates only when if you've make it turn off. kmspico

    ReplyDelete
  8. This is a source where you may gain lots of info about spy apps.

    ReplyDelete
  9. However, with Nagios, once you have a log monitoring script or tool that can monitor a specific log file the way you want it monitored, Nagios can be relied upon to handle the rest.seo log analyzer

    ReplyDelete
  10. This comment has been removed by the author.

    ReplyDelete
  11. Modern technologies make us think another way/ I'm sure that we use it too often. Even when we don't need to. I use this useful site for doing my homework.

    ReplyDelete
  12. Hi its was really good that you have shown interest in the things I am also interested. I'd surely come back on your website for such kind of niche stuff.
    Hats off to you for the efforts you and your team is doing.
    ipl live score
    free ipl score
    ipl final live streaming
    ipl final 2018
    ipl live streaming
    ipl final score
    ipl live stream 2018
    ipl live score 2018

    ReplyDelete
  13. Moreover, Microsoft have reported that they will stop supporting Windows 7 from January 2015, and in this manner it's inescapable that you should receive this most recent offering regardless of whether it's later as opposed to sooner. Right Chicken Breed Backyard

    ReplyDelete
  14. Nearly everything seems to jump off the screen, but at the same time the film doesn’t really have any standout moments where the effect is utilized in a way that really wows its audience. https://techgearz.com/fix-system-service-exception-error/

    ReplyDelete

Copyright notice

© André N. Klingsheim and www.dotnetnoob.com, 2009-2018. Unauthorized use and/or duplication of this material without express and written permission from this blog’s author and/or owner is strictly prohibited. Excerpts and links may be used, provided that full and clear credit is given to André N. Klingsheim and www.dotnetnoob.com with appropriate and specific direction to the original content.

Read other popular posts