0

Worklight 5.0.5 自由 8.5.0.1

我们遇到了一些超时问题,我在自由信息中心看到它说您可以打开自由的访问日志记录

<httpAccessLogging/>

<httpAccessLogging enabled="true" filePath="e:\\Temp\\http_access.log" />

我在 server.xml 中插入了标签,但它没有创建访问日志文件。我要查找的主要内容是进行呼叫的设备的 IP 地址。那是我可以找出调用是否在某个时间到达服务器..

4

1 回答 1

0

httpAccessLogging 在每个 httpEndpoint 的基础上启用。尝试:

<httpEndpoint id="defaultHttpEndpoint">
  <accessLogging/>
</httpEndpoint>

...或者:

<httpEndpoint id="defaultHttpEndpoint" accessLoggingRef="hal"/>
<httpAccessLogging id="hal"/>
于 2013-08-23T14:14:07.910 回答