Microsoft IIS Web Server
--
Questions
--
Followers
Top Experts
Moving IIS Log Files
My C drive is filling up on my web server, my logfiles directory under system32 is the culprit.
I would like to do some clean-up
1) I would like to move the logfiles a different drive
  - can I do a global change to IIS to effect all web sites or do I need to change the setting for each website?
  - do I need to do this in the middle of the night / bring down the site?
2) I've been logging some sites that I don't need logs. Â Is there a way to delete these logs from the logfile directory or shall I just leave them mixed in...
Any recommendations on Log Analyzers? Â I'm just getting read to do this..
Do I need the log files in a specifif place (can I move them off the server even?) in order to analyze them.
Thanks!
I would like to do some clean-up
1) I would like to move the logfiles a different drive
  - can I do a global change to IIS to effect all web sites or do I need to change the setting for each website?
  - do I need to do this in the middle of the night / bring down the site?
2) I've been logging some sites that I don't need logs. Â Is there a way to delete these logs from the logfile directory or shall I just leave them mixed in...
Any recommendations on Log Analyzers? Â I'm just getting read to do this..
Do I need the log files in a specifif place (can I move them off the server even?) in order to analyze them.
Thanks!
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
Follow the attached screenshot.
iis-log-files.jpg
iis-log-files.jpg
You can them deactivate logging, individually, for each web folder or virtual folder, as shown in attached screenshot.
iis-log-webfolders.jpg
iis-log-webfolders.jpg
Thanks! Â That is very clear with the images!
So i guess changing that global setting will change all websites?
Can I move the logs at any time without shutting down?
Any recommended analyzer?
Thanks again!
So i guess changing that global setting will change all websites?
Can I move the logs at any time without shutting down?
Any recommended analyzer?
Thanks again!






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
PERFECT! Â Thanks!
Microsoft IIS Web Server
--
Questions
--
Followers
Top Experts
IIS is Internet Information Services, the web server included with Windows Server operating systems. All current versions are built on a modular architecture; modules can be added or removed individually so that those required for specific functionality are installed. The full installation of IIS includes HTTP, security, content, compression, caching, logging and diagnostics.