2016-03-03 139 views
0

我無法在WLP v8.5.5.1中找到顯示客戶端發起的請求URL和請求方法的日誌文件。 我們有一堆由顧問製作的REST服務(HTTPS),但在usr/servers/[apps]/logs我沒有找到任何請求記錄(有一堆日誌文件,如message.log, console.log, etc)。WebSphere Liberty配置文件日誌

回答

3

message.log是WebSphere Liberty的主要日誌文件。如果要登錄您必須啓用它所有的HTTP請求,添加以下到server.xml文件

<httpAccessLogging id="accessLogging"/> 
<httpEndpoint id="defaulHttpEndpoint" accessLoggingRef="accessLogging"/> 

欲瞭解更多詳細信息和選項檢查:HTTP access log settings

相關問題