Skip to content
Snippets Groups Projects
Commit 493c883f authored by Krzysztof Witukiewicz's avatar Krzysztof Witukiewicz
Browse files

OZG-6303 OZG-7485 Do not log known warnings from BeanPostProcessorChecker

parent 3e362f33
Branches
Tags
1 merge request!5OZG-6303 OZG-7485 Do not log known warnings from BeanPostProcessorChecker
......@@ -10,5 +10,12 @@
<Root level="WARN">
<appender-ref ref="CONSOLE" />
</Root>
<Logger name="org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker" level="WARN" additivity="false">
<Filters>
<RegexFilter regex=".*\[grpcClientBeanPostProcessor\].*" onMatch="DENY" onMismatch="NEUTRAL"/>
<RegexFilter regex=".*DelegatingWsConfiguration.*\[annotationActionEndpointMapping\].*" onMatch="DENY" onMismatch="NEUTRAL"/>
</Filters>
<appender-ref ref="CONSOLE" />
</Logger>
</Loggers>
</configuration>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<Appenders>
<Console name="LogInJSON" target="SYSTEM_OUT">
<!-- <JsonLayout compact="true" properties="true" eventEol="true"></JsonLayout> -->
<JsonTemplateLayout
eventTemplateUri="classpath:EcsLayout.json"
maxStringLength="65536" />
</Console>
</Appenders>
<Loggers>
<Root level="WARN">
<appender-ref ref="LogInJSON" />
</Root>
<Logger name="org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker" level="WARN" additivity="false">
<Filters>
<RegexFilter regex=".*\[grpcClientBeanPostProcessor\].*" onMatch="DENY" onMismatch="NEUTRAL"/>
<RegexFilter regex=".*DelegatingWsConfiguration.*\[annotationActionEndpointMapping\].*" onMatch="DENY" onMismatch="NEUTRAL"/>
</Filters>
<appender-ref ref="LogInJSON" />
</Logger>
</Loggers>
</configuration>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment