Multiple 'this operation breaks' warning messages in logs

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

The following error messages appear in the logs:

Feb 18, 2008 2:00:00 AM net.sf.hibernate.impl.SessionImpl narrowProxy
WARNING: Narrowing proxy to class com.atlassian.confluence.pages.BlogPost - this operation breaks ==

原因

This is a harmless warning from Hibernate and has already been raised as an issue at CONF-11001.

ソリューション

These warnings can be suppressed:

  1. Open your confluence/WEB-INF/classes/log4j.properties file and find this line:

    # suppress warnings from the SessionImpl (like Narrowing proxy to class com.atlassian.confluence.pages.Page - this operation breaks ==)
    log4j.logger.net.sf.hibernate.impl.SessionImpl=ERROR, confluencelog
    
  2. Underneath that line, add the following line:

    log4j.additivity.net.sf.hibernate.impl.SessionImpl=false
    

    This additional line will stop these warnings from being logged to standard out, such as the catalina.out file. They already do not get sent to your atlassian-confluence.log file)

最終更新日: 2016 年 2 月 26 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.