Setting up a trace in WebSphere Application Server
Setting up a trace in WebSphere Application Server
Troubleshooting
https://www.ibm.com/support/pages/setting-trace-websphere-application-server
Problem
Use this document to set up trace strings for IBM WebSphere Application Server as mentioned in the component-specific MustGather documents.
Resolving The Problem
Note, the trace string you use depends on what module or component in WebSphere Application Server you need to trace, or what problem you are wishing to troubleshoot. Trace file Maximum file size and the Maximum number of historical files suggested is sufficient for most cases. For large environment set Maximum number of historical files to 30(captures 3gb trace approx).
To determine which trace string you need, go to MustGather: Read first for WebSphere Application Server for a listing of product components that matches your symptom.
For WebSphere Application Server V8.5 Liberty profile, use Setting up trace and getting a full dump in the WebSphere Application Server V8.5 Liberty profile
Static trace:
Dynamic trace:
Stopping trace:
To determine which trace string you need, go to MustGather: Read first for WebSphere Application Server for a listing of product components that matches your symptom.
For WebSphere Application Server V8.5 Liberty profile, use Setting up trace and getting a full dump in the WebSphere Application Server V8.5 Liberty profile
Static trace:
- Log on to the administrative console.
- In left panel expand Troubleshooting. Click on Logs and Trace.
- Select the application server to be traced, and then on the next page click the Diagnostic Trace link.
- Select the Configuration tab.
- Under Trace Output, select File radio button and specify File Name. Also Increase the Maximum file size to 100 MB and Increase the Maximum number of historical files to 10.
- Select Basic (Compatible) Trace Output Format unless otherwise specified by support.
- On same panel click on Change Log Detail Levels under Additional Properties on right side panel.
- Under Configuration tab specify Trace Specification by entering the trace string specific to the MustGather documentation for which you are collecting data.
- Click Apply and OK. Then Save your configuration (select Synchronize changes with Nodes option)
- Restart the server to begin tracing.
Dynamic trace:
- Log on to the administrative console.
- In the left panel, expand Troubleshooting and click on Logs and Trace.
- Select the application server to be traced, and then on the next page click the Diagnostic Trace link.
- Select the Runtime tab (Server should be up and running for this tab to show up).
- Under Trace Output, select File and type a File name (if you do not specify path, but just the file name, then the default location of the file is under the application server profile directory). Set the Maximum File size to 100Mb and Maximum Number of historical files to 10.
Important: Do not select Save Runtime Changes to Configuration as well if you do not want this setting to become permanent.
- On same panel click on Change Log Detail Levels under Additional Properties on right side panel.
- Select the Runtime tab.
- Under Trace Specification, enter trace string for the specific MustGather for which you are collecting data.
- Click Apply and OK. Then Save your configuration (select Synchronize changes with Nodes option).
- Server does not require a restart.
Stopping trace:
- Remove the trace string from Trace Specification in the appropriate trace tab(s) (Configuration and/or Runtime).
- Click Apply and OK. Then Save your configuration (select Synchronize changes with Nodes option).
自然语言处理爱好者,欢迎交流。QQ: 7214218
分类:
WAS
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· Docker 太简单,K8s 太复杂?w7panel 让容器管理更轻松!