Solved

Log file filling up C drive

Posted on 2012-03-28
4
327 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 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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SCOM - Service Restart 1 26
Control Panel in alpha prder 4 31
Windows 2008 SBS Patch 2 45
Robocopy copy files shares and securities. 3 16
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
Configuring Remote Assistance for use with SCCM
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
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…

734 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