Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Log file filling up C drive

Posted on 2012-03-28
4
Medium Priority
?
329 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 5

Accepted Solution

by:
rtay earned 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
IF you are either unfamiliar with rootkits, or want to know more about them, read on ....
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
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…

705 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