We archive and index the logs using Splunk, so I only keep 90 days' worth on each CAS.
To clean them up, I use a forfiles command that can be entered directly into Task Scheduler: forfiles /p "D:\LOGS\W3SVC1" /m *.* /d -90 /c "cmd /c del @path" From: [email protected] [mailto:[email protected]] On Behalf Of Maglinger, Paul Sent: Wednesday, May 11, 2016 8:48 AM To: '[email protected]' <[email protected]> Subject: [Exchange] RE: Exchange CAS logs I have a scheduled PowerShell script that cleans up those log files. I keep 3 months worth. From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Jason Benway Sent: Wednesday, May 11, 2016 7:27 AM To: [email protected]<mailto:[email protected]> Subject: [Exchange] Exchange CAS logs I was reviewing our CAS server (exchange 2010) and realized the server was about 300GB. I started looking at its mostly IIS logs that go back about 2 years. What are others doing with their logs do they manually delete them after a period of time? Are you archiving them someone else? Thanks,jb
