[
https://issues.apache.org/jira/browse/FLINK-18284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17135000#comment-17135000
]
appleyuchi commented on FLINK-18284:
------------------------------------
Thanks for your replies
1.you may know that last official fix is only for start-scala-shell.sh,not for
log4j.properties.
are you sure your log4j.propertires is left as default when you test it?
https://github.com/apache/flink/pull/7371
2.This is already 1.11 code from newest github.
start-scala-shell.sh->xxx.xml->log4j.properties,
this is the flow.
3. this warning can be produced no relation whether it's log4j1 or log4j2.
*only 3 parts of a software:*
*configuration file, startscript and jars from mvn with pom.xml*
I use the default "configuration file, startscript" from 1.11.
so the only difference between mine and yours is from *jars from mvn with
pom.xml?*
*I can not build it ,so much errors if I use default pom.xml provided by
flink1.11*
> 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)