Enable/Find Dynamics AX Odata 服务的日志记录

Enable/Find logging for Dynamics AX Odata service

我正在尝试使用 OdataQueryService 将外部系统连接到 AX。使用 Excel 连接可从服务器获得正确的结果,但在使用外部系统时出现错误。

我可以在 Dynamics AX Odata 服务上启用一些日志记录以进行故障排除吗?

罗伯

找到了: 使用服务配置编辑器编辑 ax32serv.exe.config。 启用 MessageLogging 和启用跟踪。 更改日志记录路径 + 保存 重启 AOS 产生一些流量 使用 Microsoft Service Trace Viewer 分析 Ax32Serv_messages.svclog 和 Ax32Serv_tracing.svclog。