Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-11001

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

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      NOTE: This suggestion is for Confluence Cloud. Using Confluence Server? 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: