Class SqlExceptionHelperLoggingSuppressionPostProcessor
java.lang.Object
com.broadleafcommerce.common.jpa.logging.SqlExceptionHelperLoggingSuppressionPostProcessor
- All Implemented Interfaces:
org.springframework.boot.env.EnvironmentPostProcessor
public class SqlExceptionHelperLoggingSuppressionPostProcessor
extends Object
implements org.springframework.boot.env.EnvironmentPostProcessor
SqlExceptionHelper is not fully responsive to Spring Boot property setting regarding logging
level.
SqlExceptionHelperLoggingSuppressionAdvice
was
added to make edits to the class to address this. The effect can be reversed (if desired) by
setting a property: broadleaf.jpa.sqlexceptionhelper.logging.suppression.active
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
postProcessEnvironment
(org.springframework.core.env.ConfigurableEnvironment environment, org.springframework.boot.SpringApplication application)
-
Constructor Details
-
SqlExceptionHelperLoggingSuppressionPostProcessor
public SqlExceptionHelperLoggingSuppressionPostProcessor()
-
-
Method Details
-
postProcessEnvironment
public void postProcessEnvironment(org.springframework.core.env.ConfigurableEnvironment environment, org.springframework.boot.SpringApplication application) - Specified by:
postProcessEnvironment
in interfaceorg.springframework.boot.env.EnvironmentPostProcessor
-