Data Service log file is big

On a 2008 server there is a log file that has grown to 30gb taking almost all the room on the C drive.

if I go to C:\Program files\Windows Small Business Server\logs\Monitor Service Logs  there is one log file that has grown big.
Its the dataServiceExcecution log. it is 30.4 gb.
Is there a way to shrink this file?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David AtkinTechnical DirectorCommented:

You can't shrink the log file but you can replace it.

Stop the Windows SBS Manager Service
Rename the File
Restart the Windows SBS Manager Service

Copy the old file onto another drive.  A new file will be created once the service is restarted.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
BBraytonAuthor Commented:
OK thanks I will give that a try
BBraytonAuthor Commented:
Since there is no other drive I will have to copy the file to a workstation.
OWASP: Avoiding Hacker Tricks

Learn to build secure applications from the mindset of the hacker and avoid being exploited.

David AtkinTechnical DirectorCommented:
That will be fine.  

Realistically the log is so large that opening it would be a struggle anyway so its of little use.
BBraytonAuthor Commented:
DO you have to create a copy of it or can you just delete it.
David AtkinTechnical DirectorCommented:
You can just delete it if you like. We sometimes keep some of the logs for reference but as its so large I wouldn't bother.

Rename the file first, make sure it recreates ok and then delete if you don't need it.
BBraytonAuthor Commented:
ok will do
BBraytonAuthor Commented:
OK i renamed the data service execution file. restarted the service.
this file is dated 11/18/2014 of last year.
and there are more log files with Data service execution but they are small files.
There is one with today's date. just leave that one alone. I also did a shadow copy before i made any changes.

Do you think it is safe to delete that file?
David AtkinTechnical DirectorCommented:
If they are only small files left then I wouldn't bother.  The main logs that get large are IIS, POP and console logs.  

For some additional reason have a read of this regarding how to reclaim disk space in sbs 2008:
BBraytonAuthor Commented:
ok the server is running slow right now. I'm on remote but it is slow. Would recreating the file do that?
David AtkinTechnical DirectorCommented:
No it shouldn't do. It a log file so it's not actually doing anything.

Check task manager and Ee what process are running high.
BBraytonAuthor Commented:
ok i noticed the antivirus has been stuck on a scan. but its hard to even go into services
BBraytonAuthor Commented:
File is re-created old file is deleted and everything is running Great. Thanks!!!
David AtkinTechnical DirectorCommented:
My pleasure. Glad you're sorted.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.