Whenever I go to IIS 7.5 Manager, I go to logs for the global server home and change the setting to "one log file per site" and when I go to an individual site and change the directory where the log file is stored the log file doesn't save where I set it to
change on the individual site. It saves in the directory where it is set in the global IIS Manager settings. How would I go about having all site log files save in different directories depending on where I have the log directory set to on a site level?
What you have done should make log files save at your custom position per site. Please go to your ApplicationHost.config file, navigate to site setting(<site name="sitename" id="1">) and check if such entry "<logFile directory="customlogposition" />" is
there.
Please mark the replies as answers if they help or unmark if not.
Feedback to us
Thanks, that fixed it. I found another issue with it also. It turns out that IIS doesn't like it when you use network share directories as the log path. All I had to do is use the local path, such as the drive letter and it works. Thanks again for your help,
I really appreciate it a lot.
General V2
2 Posts
Need help with setting up individual save directories for each site log
Apr 15, 2012 07:46 PM|LINK
Topspy
414 Posts
Re: Need help with setting up individual save directories for each site log
Apr 16, 2012 07:20 AM|LINK
Asp.net Hosting | Windows Hosting | SQL Server Hosting
Dalong Zhang...
647 Posts
Microsoft
Re: Need help with setting up individual save directories for each site log
Apr 17, 2012 02:14 AM|LINK
Hi,
What you have done should make log files save at your custom position per site. Please go to your ApplicationHost.config file, navigate to site setting(<site name="sitename" id="1">) and check if such entry "<logFile directory="customlogposition" />" is there.
Feedback to us
Develop and promote your apps in Windows Store
General V2
2 Posts
Re: Need help with setting up individual save directories for each site log
Apr 17, 2012 05:30 AM|LINK