Avatar of Ekuskowski
Ekuskowski
 asked on

Exchange 2013 Activesync IIS log file size

We are an Microsoft Exchange environment .  We use Active sync to sync our 80 devices (iphones and Samsung galaxies) with exchange, Periodically ( 2 or 3 times a year ) I would delete/cleanup old  c$\inetpub\logs\LogFiles\W3SVC1 and also the W3SVC2 and W3SVC3 folders. They would have a tremendous amount of files and each file could be 30 MB or so.
Now in those folders the files are over 300 MB each and I have to cleanup these folders monthly.
I understand these are log files,  Is my exchange server a problem ? or are some of the smartphones having problems ?
What can I look at to see why these files have now grown 10 times what they were.

Any info is appreciated
ExchangeiPhoneAndroidSmartphonesIT Administration

Avatar of undefined
Last Comment
Jeff Glover

8/22/2022 - Mon
SOLUTION
Jackie Man

THIS SOLUTION 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
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
ASKER CERTIFIED SOLUTION
Jeff Glover

THIS SOLUTION 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
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Ekuskowski

ASKER
Thank you for the script,  it will be very helpful, also rotating the logs as Jackie Man noted may be a good idea or even moving to a separate/different location.
I think my underlying question should have been.  " Why are my logs so much larger now, than they were at the beginning of the year ?"
My number of active sync users has not changed
I am wondering if there is something in the log I should look at to find out if I am having some type of problem.
I hope that makes sense.
Jeff Glover

If you mean logs getting bigger each day, it can be for many reasons. You could have more people with mobile devices. Also, the logs cover more than just ActiveSync. It also covers OWA and any other web related stuff. They are basically IIS logs.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck