Class LogSuppressingUtil

java.lang.Object
com.atlassian.crowd.util.persistence.hibernate.LogSuppressingUtil

public final class LogSuppressingUtil extends Object
  • Field Details

  • Method Details

    • withSuppressedHibernateLogging

      public static void withSuppressedHibernateLogging(Runnable runnable)
      This method will suppress Hibernate error logging around operations which are expected to fail. See com.atlassian.crowd.console.logging.HibernateLogSuppressingMdcFilter for more details.
      Parameters:
      runnable - the DB operation for which Hibernate logging should be suppressed