进入
[install directory]/profiles/wp_profile/config/cells/[cell name]/nodes/[node name]/servers/server1/目录;
编辑server.xml,寻找startupTrace Specification元素,将其值改为:*=info:com.ibm.ws.webcontainer.*=all:com.ibm.wsspi.webcontainer.*=all:HTTPChannel=all:GenericBNF=all
重启Websphere,通过浏览器访问一下websphere,然后到websphere的日志目录[install directory]/profiles/wp_profile/logs/server1下,就可以看到跟踪日志文件trace.log