lindong28 edited a comment on pull request #15518:
URL: https://github.com/apache/flink/pull/15518#issuecomment-815422325


   For the context, @tillrohrmann asked in this comment[1] about the excessive 
INFO level logging in AZP.
   
   It appears that INFO level logging from 
org.apache.flink.streaming.connectors.kafka are printed in AZP due to the 
following reasons:
   - By searching for "log4j.configurationFile" in [2], we could see that 
`tools/ci/log4j.properties` is used to configure the log4j level in AZP.
   - `org.apache.flink.streaming.connectors.kafka` is specifically updated to 
use ConsoleAppender instead of FileAppender inside the file 
`tools/ci/log4j.properties`
   
   I guess the questions are:
   - Is it expected that AZP test uses `tools/ci/log4j.properties` instead of 
`src/test/log4j2-test.properties` for log4j configuration?
   - Why do we specifically set `org.apache.flink.streaming.connectors.kafka` 
to use `ConsoleAppender` in `tools/ci/log4j.properties`?
   
   @rmetzger, @zentol: do you have any suggestion? Thanks.
   
   [1] 
https://issues.apache.org/jira/browse/FLINK-18634?focusedCommentId=17316208&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17316208
   [2] 
https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=16080&view=logs&j=c5f0071e-1851-543e-9a45-9ac140befc32&t=1fb1a56f-e8b5-5a82-00a0-a2db7757b4f5
   
   
   
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to