Exchange Server
A family of Microsoft client/server messaging and collaboration software.
1,297 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
您好
近期发现客户环境中用户的exchange服务器上的SMTP日志都只剩下4天的,又看了其他的protocol log也是4天,,是所有服务器同时出现的这个情况。
是什么原因导致的,是默认配置吗?还是说做了什么调整?
如何调整protocol log的保留时间期限。
您好,
欢迎来到微软论坛
Exchange 服务器上的协议日志保留期限默认不是四天,所以可能是配置被调整过。
使用以下命令来查看当前的日志配置:
Get-TransportService | fl *logmaxage*
如果你想调整指定服务器上的SMTP日志保留时间,可以使用以下命令:
Set-TransportService -Identity <ServerName> -ProtocolLogMaxAge <TimeSpan>
例如,将日志保留时间设置为30天:
Set-TransportService -Identity "Server1" -ProtocolLogMaxAge 30.00:00:00