Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-11001

Suppress "this operation breaks ==" warn messages from being outputted to standard out.

    XMLWordPrintable

Details

    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.

      This is a harmless warning from Hibernate and has been suppressed from making it to the atlassian-confluence.log file, but is still present in standard out.

      These warnings can be suppressed, however. To do so please open confluence/WEB-INF/classes/log4j.properties and find the following 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
      

      Underneath that 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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pkamal Partha
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: