Link to home
Start Free TrialLog in
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
SOLUTION
Avatar of Jackie Man
Jackie Man
Flag of Hong Kong image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Ekuskowski
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.
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.