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

时间:2011-06-28 11:16:36

标签: console websphere

我正在将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的东西。

2 个答案:

答案 0 :(得分:1)

答案 1 :(得分:0)

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