Avatar of Info Tech
Info TechFlag for United States of America

asked on 

Deleting IIS log files from Exchange 2010 server

I'm running Exchange 2010 on Windows Server 2008 R2 Standard.  My disk space is filling up, and it seems to be caused largely by IIS logs located in C:\inetpub\logs.  Is it ok to delete some of these logs?  Or are these similar to the Exchange transaction logs, which I believe should not be touched?  (Transaction logs are currently truncating and are not a problem space-wise.)  I just need to know if it will cause any problems to delete these IIS logs.  
Exchange

Avatar of undefined
Last Comment
Info Tech
Avatar of louisreeves
louisreeves
Flag of United States of America image

The issue is related to WSUS log files. There is also some that say some of the logs are generated by leaving the SBS console open. So... Close your SBS console (if sbs.. but in your case it is not) and apply this :
http://support.microsoft.com/kb/2458094

go to WSUS admin in IIS -WSUS Administration site and open Logging... Disable logging and you will be good to go.

This link has the screen shot of the setting to change:

http://theessentialexchange.com/blogs/michael/archive/2010/01/11/disabling-wsus-logging-or-any-website-on-windows-server-2008.aspx

L
Avatar of Info Tech
Info Tech
Flag of United States of America image

ASKER

I don't have WSUS listed in IIS.  The only site I have is default web site.
Avatar of bigmack333
bigmack333

How much space is available on your server per partition? Are the transaction logs truncating after weekly/nightly backups?

How much data are these logs taking up?
Avatar of Info Tech
Info Tech
Flag of United States of America image

ASKER

The transaction logs are truncating after backups and are only a few GB.  The IIS logs, however, are occupying about 62GB of my 250GB partition.
Avatar of bigmack333
bigmack333

So you have a single 250 GB partition?

More importantly I would find out why you're getting so much traffic on your IIS files -- and whether or not this would be normal for your implementation.

Sometimes Exchange may create a larger amount of log files if there is a large amount of replication that's taking place.
Avatar of MegaNuk3
MegaNuk3
Flag of United Kingdom of Great Britain and Northern Ireland image

You can delete those log files safely. If you are a bit worried then leave today's ones and delete the older ones.
ASKER CERTIFIED SOLUTION
Avatar of ronnypot
ronnypot
Flag of Netherlands image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of khairil
khairil
Flag of Malaysia image

Hi,

You can delete the file safely. Simple command prompt, del c:\inetpub\log\*.log can do.

You can make batch file for that command and use this app from codeproject to make it as Windows Service, http://www.codeproject.com/KB/system/xyntservice.aspx.

BTW, my suggestion, please go and check what cause the error. Turn off the services that generate it if possible.

-khairil-
Avatar of Info Tech
Info Tech
Flag of United States of America image

ASKER

In looking through the logs, I see a lot of connections to our GFI MailArchiver server.  So I'm guessing journaling is what's causing most, if not all, of these logs to appear.  Is it still ok to delete these logs, since I won't be turning off the GFI services?  And is there a better way to determine if there is anything else contributing to the logs, or if it's just GFI?
Avatar of ronnypot
ronnypot
Flag of Netherlands image

Everytime a program connects to exchange through Exchange WebServices it will connect using IIS and with every connection it will log a line in the log file.
Avatar of Info Tech
Info Tech
Flag of United States of America image

ASKER

That's exactly what I needed.  Thank you!
Exchange
Exchange

Exchange is the server side of a collaborative application product that is part of the Microsoft Server infrastructure. Exchange's major features include email, calendaring, contacts and tasks, support for mobile and web-based access to information, and support for data storage.

213K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo