【问题标题】:How to disable icefaces info logging如何禁用icefaces信息记录
【发布时间】:2012-01-03 13:12:58
【问题描述】:

我想知道如何禁用 icefaces 信息记录,例如:

INFO: 
ICEsoft Technologies Inc.
ICEpush 2.0.2
Build number: 6
Revision: 24488

Jan 3, 2012 2:47:48 PM org.icefaces.util.EnvConfig init
INFO: ICEfaces Configuration: 
org.icefaces.render.auto: true [default]
org.icefaces.autoid: true [default]
org.icefaces.aria.enabled: true [default]
org.icefaces.blockUIOnSubmit: false [default]
org.icefaces.compressDOM: false [default]
org.icefaces.compressResources: true [default]
org.icefaces.connectionLostRedirectURI: null [default]
org.icefaces.deltaSubmit: false [default]
org.icefaces.lazyPush: true [default]
org.icefaces.sessionExpiredRedirectURI: null [default]
org.icefaces.standardFormSerialization: false [default]
org.icefaces.strictSessionTimeout: false [default]
org.icefaces.windowScopeExpiration = 1000 [default]
org.icefaces.mandatoryResourceConfiguration: null [default]
org.icefaces.uniqueResourceURLs: true [default]
org.icefaces.lazyWindowScope: true [default]
org.icefaces.disableDefaultErrorPopups: false [default]

Jan 3, 2012 2:47:49 PM org.icefaces.impl.renderkit.DOMRenderKit <clinit>
INFO: 
ICEsoft Technologies Inc.
ICEfaces 2.0.2
Build number: 8
Revision: 24561

我尝试将以下内容添加到我的 log4j 配置中,但没有成功:

log4j.logger.org.icefaces=FATAL

【问题讨论】:

    标签: jakarta-ee logging log4j icefaces slf4j


    【解决方案1】:

    看起来 ICEfaces 正在使用java.util.logging。您必须配置 j.u.l 以丢弃这些消息,或者(更好地)使用 bridgej.u.l 重定向到 SLF4J 并控制 Log4J 输出。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2011-08-11
      • 1970-01-01
      • 2012-08-30
      • 1970-01-01
      • 2011-11-23
      • 2018-10-10
      • 1970-01-01
      相关资源
      最近更新 更多