如何使用 WebSphere 关闭或隐藏标准错误控制台?

发布于 2024-11-17 15:20:13 字数 1764 浏览 2 评论 0原文

我正在使用 IBM RSA 8.0.3 和 WebSphere 7.0.0.17 服务器。每次我启动服务器时,控制台都会在标准输出和标准错误控制台视图之间疯狂切换。这非常烦人,因为(对我来说)标准错误控制台视图中没有合理的输出。它包含这样的数据:

<af type="tenured" id="26" timestamp="Jun 28 12:57:04 2011" intervalms="34.757">
  <minimum requested_bytes="102832" />
  <time exclusiveaccessms="0.024" meanexclusiveaccessms="0.014" threads="1" lastthreadtid="0x27D2CF00" />
  <refs soft="6425" weak="12383" phantom="60" dynamicSoftReferenceThreshold="7" maxSoftReferenceThreshold="32" />
  <tenured freebytes="120485136" totalbytes="536870912" percent="22" >
    <soa freebytes="120485136" totalbytes="536870912" percent="22" />
    <loa freebytes="0" totalbytes="0" percent="0" />
  </tenured>
  <gc type="global" id="30" totalid="30" intervalms="35.420">
    <compaction movecount="5551050" movebytes="336675368" reason="heap fragmented" />
    <timesms mark="362.622" sweep="17.413" compact="697.519" total="1077.646" />
    <tenured freebytes="196453560" totalbytes="536870912" percent="36" >
      <soa freebytes="191085240" totalbytes="531502592" percent="35" />
      <loa freebytes="5368320" totalbytes="5368320" percent="100" />
    </tenured>
  </gc>
  <tenured freebytes="196350728" totalbytes="536870912" percent="36" >
    <soa freebytes="190982408" totalbytes="531502592" percent="35" />
    <loa freebytes="5368320" totalbytes="5368320" percent="100" />
  </tenured>
  <refs soft="6425" weak="12383" phantom="60" dynamicSoftReferenceThreshold="11" maxSoftReferenceThreshold="32" />
  <time totalms="1077.769" />
</af>

有没有办法禁用或隐藏这些输出?我只是不想看到它。 似乎这个“特性”是随 WebSphere 7.0 一起提供的,因为我在 6.1 中没有看到类似的东西。

I'm using IBM RSA 8.0.3 with WebSphere 7.0.0.17 server. Every time I start the server the console switches like crazy between standard out and standard error console views. This is very annoying because (for me) there is no reasonable output in the standard error console view. It contains data like this:

<af type="tenured" id="26" timestamp="Jun 28 12:57:04 2011" intervalms="34.757">
  <minimum requested_bytes="102832" />
  <time exclusiveaccessms="0.024" meanexclusiveaccessms="0.014" threads="1" lastthreadtid="0x27D2CF00" />
  <refs soft="6425" weak="12383" phantom="60" dynamicSoftReferenceThreshold="7" maxSoftReferenceThreshold="32" />
  <tenured freebytes="120485136" totalbytes="536870912" percent="22" >
    <soa freebytes="120485136" totalbytes="536870912" percent="22" />
    <loa freebytes="0" totalbytes="0" percent="0" />
  </tenured>
  <gc type="global" id="30" totalid="30" intervalms="35.420">
    <compaction movecount="5551050" movebytes="336675368" reason="heap fragmented" />
    <timesms mark="362.622" sweep="17.413" compact="697.519" total="1077.646" />
    <tenured freebytes="196453560" totalbytes="536870912" percent="36" >
      <soa freebytes="191085240" totalbytes="531502592" percent="35" />
      <loa freebytes="5368320" totalbytes="5368320" percent="100" />
    </tenured>
  </gc>
  <tenured freebytes="196350728" totalbytes="536870912" percent="36" >
    <soa freebytes="190982408" totalbytes="531502592" percent="35" />
    <loa freebytes="5368320" totalbytes="5368320" percent="100" />
  </tenured>
  <refs soft="6425" weak="12383" phantom="60" dynamicSoftReferenceThreshold="11" maxSoftReferenceThreshold="32" />
  <time totalms="1077.769" />
</af>

Is there a way to disable or hide these outputs? I just don't want to see it.
It seems that this "feature" came with WebSphere 7.0 because I did not see something like that using 6.1.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

终陌 2024-11-24 15:20:13

如果您的问题确实与控制台视图获得焦点有关。看一下RSA控制台视图的顶部,有2个按钮:“标准输出更改时显示控制台”和“标准错误更改时显示控制台”,只需取消选择它们即可。否则,也可以从 WAS 管理控制台的“故障排除 -> 日志和跟踪”下调整日志记录。

If your issue is really about the console view getting focus. Have a look a the top of the console view in RSA, there are 2 buttons: "Show console when Standard out changes" and "Show console when Standard Error changes", just unselect them. Otherwise, logging can also be adjusted from WAS's admin console under "Troubleshooting->Logs and Trace".

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文