【问题标题】:How to enable logs in Websphere Application Server for debug in start-up script?如何在 Websphere Application Server 中启用日志以在启动脚本中进行调试?
【发布时间】:2015-10-22 09:57:02
【问题描述】:
有什么方法可以在Websphere Application Server(最好是V8.5)的启动脚本中启用debug日志?很久以前有人告诉我,我们需要在 startServer.bat 中编写一个命令,我不记得了。
我知道如何通过 WAS 管理控制台启用日志,即。通过'logging and tracking',但我怎样才能在启动脚本中进行调试呢?请帮忙。
【问题讨论】:
标签:
websphere
websphere-8
ibm-was
【解决方案1】:
startServer 脚本的-trace 参数将导致logs/<server>/startServer.log 文件包含有关服务器启动进程(而不是服务器进程)的其他详细信息。有关更多信息,请参阅知识中心中的 startServer command 主题。