Link to home
Create AccountLog in
Microsoft IIS Web Server

Microsoft IIS Web Server

--

Questions

--

Followers

Top Experts

Avatar of gdemaria
gdemaria🇺🇸

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!

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of Paulo PimentaPaulo Pimenta🇵🇹

Follow the attached screenshot.
iis-log-files.jpg

Avatar of Paulo PimentaPaulo Pimenta🇵🇹

You can them deactivate logging, individually, for each web folder or virtual folder, as shown in attached screenshot.
iis-log-webfolders.jpg

Avatar of gdemariagdemaria🇺🇸

ASKER

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!


Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


ASKER CERTIFIED SOLUTION
Avatar of Paulo PimentaPaulo Pimenta🇵🇹

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

Avatar of gdemariagdemaria🇺🇸

ASKER

PERFECT!  Thanks!
Microsoft IIS Web Server

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.