Solved

Log file filling up C drive

Posted on 2012-03-28
4
325 Views
Last Modified: 2012-03-28
Hi
I have just noticed that the C drive on my exchange 2003 server has only 1.8gb of space left! I can see that the following location is using up 36GB

C:\WINDOWS/system32/LogFiles/W3SVC1

I'm assuming these are something to do with exchange but not sure what, can I remove older log files from here?? Is there somewhere in ESM that I can map these log files to another drive where the Exchange DB and Exchange logs are stored?

Urgent help required if possible!
0
Comment
Question by:smiffy07
  • 2
  • 2
4 Comments
 
LVL 5

Accepted Solution

by:
rtay earned 500 total points
ID: 37777209
you can delete these files.  they are for troubleshooting and security.  You can also turn of logging if they do not interest you or write a script to automatically delete them.  The script would look like something below.  



at 12:00 /EVERY:Su Forfiles.exe -p C:\WINDOWS\system32\LogFiles\W3SVC1 -m *.log -d -30 -c \"Cmd.exe /C del @path\"
0
 

Author Comment

by:smiffy07
ID: 37777230
Thanks, so I just turn off logging on the properties folder for default websites in IIS??

Then once this is disabled I can delete the log files?
0
 
LVL 5

Expert Comment

by:rtay
ID: 37777240
you do not have to turn off logging.  in fact I would not incase I need to see what is going on.  I would just periodically delete the files, or like the script, deletes everything older than 30 days.
0
 

Author Comment

by:smiffy07
ID: 37777280
Cool ok, I will do that.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question