Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Friday, August 26, 2016 3:42 PM
Hello All,
I could see the below logs, I am interested in EWS logs, I am working on troubleshooting an application issue which uses EWS.
When I look at the logs (EWS logs) inside EWS folder, I could see the logs only for last 1 day. How can I make sure that I have the logs for the last 2 or 3 days, Can I change this log retention some where in Exchange using some command ?

All replies (1)
Monday, August 29, 2016 2:41 AM âś…Answered
Hi,
Do you means that Exchange server only save 1 day EWS log?
By default, it will be save 30 days before deletion. It's configured in EWS web.config file under \ExchangeInstallPath\V15\ClientAccess\exchweb\ews\web.config.
You can open it with notepad, then search "MaxLogRetentionInDays" to check the value of it.
Please backup this file before you modify any settings in this file.
More details about it, for your reference:
https://blogs.technet.microsoft.com/karywa/2016/07/15/exchange-server-20132016-ews-logging-configuration/
Allen Wang
TechNet Community Support
Please remember to mark the replies as an answers if they help and unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact [email protected].