HOWTO
- https://www.baeldung.com/spring-boot-disable-console-logging
- https://stackoverflow.com/questions/43872823/spring-boot-cannot-turn-off-logging
There is dump of all environment variables in Weblogic log due to Spring initialization
2022-05-12 14:13:43,673;DEBUG;com.bea.core.repackaged.springframework.core.env.AbstractEnvironment;<init>();125;Initialized StandardEnvironment with PropertySources
To remove it add logger for com.bea.core.repackaged.springframework into log4j.xml file
<logger name="com.bea.core.repackaged.springframework" additivity="false">
<level value="error" />
<appender-ref ref="some-appender"/>
</logger>
Check in Weblogic logs
weblogic.log:<May 18, 2022 10:24:09,804 AM CEST> <Notice> <Stdout> <BEA-000000> <2022-05-18 10:24:09,804 [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' DEBUG Level value for com.bea.core.repackaged.springframework is [error].>
weblogic.log:<May 18, 2022 10:24:09,804 AM CEST> <Notice> <Stdout> <BEA-000000> <2022-05-18 10:24:09,804 [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' DEBUG com.bea.core.repackaged.springframework level set to ERROR>
No comments:
Post a Comment