« Previous Next »

Thread: IIS logs missing in the default location

Last post 02-04-2009 4:48 PM by Sam964. 5 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (6 items)

Sort Posts:

  • 02-04-2009, 9:06 AM

    • Sam964
    • Not Ranked
    • Joined on 08-11-2004, 6:47 AM
    • Posts 4

    IIS logs missing in the default location

    Hi,

    For some reason, IIS logs are missing in the default logfile directory location (c\WINDOWS\system32\LogFiles\W3SVC2). This is related to IIS 6.0. Is there a way to troubleshoot this issue? I have done manual testing of the website and also ran some automated tests to generate the requests. The Server is giving responses, but I am unable to find a single log file. Can someone please help me troubleshoot this issue?

    Thanks a lot.

     

  • 02-04-2009, 10:59 AM In reply to

    Re: IIS logs missing in the default location

    Hi,

    Is the web site definitely configured to log to that location in IIS ? When you browse as part of your manual testing are you 100% sure that you are hitting that particular web site ?

    If a site is configured to log to a particular location and you are hitting that site with traffic it will log that activity to disk once the 64k buffer is full.

    Regards,

    Paul Lynch | www.iisadmin.co.uk
  • 02-04-2009, 11:03 AM In reply to

    • t-gemcgr
    • Top 150 Contributor
    • Joined on 01-15-2009, 11:50 AM
    • Posts 37

    Re: IIS logs missing in the default location

    If you search for "LogFileDirectory" in the metabase.xml (%windir%\system32\inetsrv) is there an Entry? It will be under IISWebService header ( there maybe other log entries with regards to smtp but just ignore these )

    Cheers

    George McGraffin
  • 02-04-2009, 3:50 PM In reply to

    • Sam964
    • Not Ranked
    • Joined on 08-11-2004, 6:47 AM
    • Posts 4

    Re: IIS logs missing in the default location

    I shud have mentioned that in the posting. It does have an entry. It also shows up when I use the IIS Manager. But log files fail to be in the specified directory.

    Thanks.

  • 02-04-2009, 3:51 PM In reply to

    • Sam964
    • Not Ranked
    • Joined on 08-11-2004, 6:47 AM
    • Posts 4

    Re: IIS logs missing in the default location

    I tried to verify it with fiddler that it is hitting the right machine. I ran 1000 requests many times. That shud have been sufficient to fill the buffer.

    Thanks.

  • 02-04-2009, 4:48 PM In reply to

    • Sam964
    • Not Ranked
    • Joined on 08-11-2004, 6:47 AM
    • Posts 4

    Re: IIS logs missing in the default location

    Guys,

    Thanks for you help. I tried to investigate this more and started looking at the IIS metabase settings and there were two settings which got corrupted. One is the LogType setting (parent node) and the other one is the DontLog setting (on the child node). Both were set to 0 and true respectively which was causing the issue. The weird thing was IISManager wasn't showing that and it lead me to believe that the settings did apply, but they weren't for some reason.

    Thanks once again guys. I appreciate your help.

     

Page 1 of 1 (6 items)
Microsoft Communities