[ https://issues.apache.org/jira/browse/FLINK-16469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Flink Jira Bot closed FLINK-16469. ---------------------------------- Resolution: Auto Closed This issue was labeled "stale-minor" 7 ago and has not received any updates so I have gone ahead and closed it. If you are still affected by this or would like to raise the priority of this ticket please re-open, removing the label "auto-closed" and raise the ticket priority accordingly. > Improve logging configurations > ------------------------------ > > Key: FLINK-16469 > URL: https://issues.apache.org/jira/browse/FLINK-16469 > Project: Flink > Issue Type: Improvement > Components: Command Line Client > Affects Versions: 1.11.0 > Reporter: Grzegorz Slowikowski > Assignee: Grzegorz Slowikowski > Priority: Minor > Labels: auto-closed, stale-assigned > > I'd like to propose several improvements to Log4J and Logback configuration > files: > > 1 (bug). > In *logback.xml* and *logback-console.xml* files some loggers define the same > appender as root configuration. This leads to logs printed twice. Example: > current configuration: > {code:java} > <logger name="akka" level="INFO"> > <appender-ref ref="file"/> > </logger> > {code} > proper configuration: > {code:java} > <logger name="akka" level="INFO"/>{code} > > 2 (bug). > During Log4J to Log4J2 migration (commit > [https://github.com/apache/flink/commit/e7db6b240572d08b549ea4ddb7b7b9ba719f7221]) > log level for > *org.apache.flink.shaded.akka.org.jboss.netty.channel.DefaultChannelPipeline* > logger was changed from *ERROR* to *OFF*. > Probably this change was accidental. If so, it should be reverted. > > 3 (improvement). > Currently "flink" script uses "log4j-cli.properties" and "logback.xml" > configuration files. There is no "*logback-cli.xml*" file. > "log4j-cli.properties" logs to file AND console ("log4j.properties" and > "logback.xml" only to files. It would be good to have similar "-cli" > configuration file for projects using Logback logging implementation. I would > provide "logback-cli.xml" file and use it in "flink" script instead of > "logback.xml". -- This message was sent by Atlassian Jira (v8.3.4#803005)