[ 
https://issues.apache.org/jira/browse/FLINK-18284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17135014#comment-17135014
 ] 

appleyuchi edited comment on FLINK-18284 at 6/14/20, 3:49 AM:
--------------------------------------------------------------

according to your  "suggestion 3",here's the result from newest flink 
repository:

 

(Python3.6) appleyuchi@Desktop:flink$ find ./ -name "*log4j.properties*"
 ./tools/ci/log4j.properties
 *./flink-dist*/src/main/flink-bin/conf/*log4j.properties*
 ./flink-docs/src/main/resources/*log4j.properties*

(Python3.6) appleyuchi@Desktop:flink$ find ./ -name "*log4j2.properties*"
 
./flink-examples/flink-examples-streaming/src/main/resources/*log4j2.properties*
 ./flink-examples/flink-examples-batch/src/main/resources/*log4j2.properties*
 ./flink-examples/flink-examples-table/src/main/resources/*log4j2.properties*
 ./flink-libraries/flink-gelly-examples/src/main/resources/*log4j2.properties*
 
./flink-quickstart/flink-quickstart-java/src/main/resources/archetype-resources/src/main/resources/*log4j2.properties*
 
./flink-quickstart/flink-quickstart-scala/src/main/resources/archetype-resources/src/main/resources/*log4j2.properties*
 
./flink-walkthroughs/flink-walkthrough-table-java/src/main/resources/archetype-resources/src/main/resources/*log4j2.properties*
 
./flink-walkthroughs/flink-walkthrough-table-scala/src/main/resources/archetype-resources/src/main/resources/*log4j2.properties*
 
./flink-walkthroughs/flink-walkthrough-datastream-scala/src/main/resources/archetype-resources/src/main/resources/*log4j2.properties*
 
./flink-walkthroughs/flink-walkthrough-datastream-java/src/main/resources/archetype-resources/src/main/resources/*log4j2.properties*

 

*log4j2.properties is no relation to flink-dist,*

*I guess you have not looked at the folder structure.*

 

 


was (Author: appleyuchi):
according to your  "suggestion 3",here's the result from newest flink 
repository:

 

(Python3.6) appleyuchi@Desktop:flink$ find ./ -name "*log4j.properties*"
 ./tools/ci/log4j.properties
 *./flink-dist*/src/main/flink-bin/conf/*log4j.properties*
 ./flink-docs/src/main/resources/*log4j.properties*

(Python3.6) appleyuchi@Desktop:flink$ find ./ -name "*log4j2.properties*"
 
./flink-examples/flink-examples-streaming/src/main/resources/*log4j2.properties*
 ./flink-examples/flink-examples-batch/src/main/resources/*log4j2.properties*
 ./flink-examples/flink-examples-table/src/main/resources/*log4j2.properties*
 ./flink-libraries/flink-gelly-examples/src/main/resources/*log4j2.properties*
 
./flink-quickstart/flink-quickstart-java/src/main/resources/archetype-resources/src/main/resources/*log4j2.properties*
 
./flink-quickstart/flink-quickstart-scala/src/main/resources/archetype-resources/src/main/resources/*log4j2.properties*
 
./flink-walkthroughs/flink-walkthrough-table-java/src/main/resources/archetype-resources/src/main/resources/*log4j2.properties*
 
./flink-walkthroughs/flink-walkthrough-table-scala/src/main/resources/archetype-resources/src/main/resources/*log4j2.properties*
 
./flink-walkthroughs/flink-walkthrough-datastream-scala/src/main/resources/archetype-resources/src/main/resources/*log4j2.properties*
 
./flink-walkthroughs/flink-walkthrough-datastream-java/src/main/resources/archetype-resources/src/main/resources/*log4j2.properties*

 

*log4j2.properties is no relation to flink-dist,*

*I guess you have not looked at the file structure.*

 

 

> No appenders could be found for logger 
> ---------------------------------------
>
>                 Key: FLINK-18284
>                 URL: https://issues.apache.org/jira/browse/FLINK-18284
>             Project: Flink
>          Issue Type: Bug
>    Affects Versions: 1.11.1
>            Reporter: appleyuchi
>            Priority: Major
>
> start-scala-shell.sh local
> Starting Flink Shell:
> log4j:WARN No appenders could be found for logger 
> (org.apache.flink.configuration.GlobalConfiguration).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more 
> info.
>  
> what's the configuration to fix this warning,it's annoying.
> PS:
> configuration in log4j.properties did not work.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to