[
https://issues.apache.org/jira/browse/FLINK-16469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17329477#comment-17329477
]
Flink Jira Bot commented on FLINK-16469:
----------------------------------------
This issue is assigned but has not received an update in 7 days so it has been
labeled "stale-assigned". If you are still working on the issue, please give an
update and remove the label. If you are no longer working on the issue, please
unassign so someone else may work on it. In 7 days the issue will be
automatically unassigned.
> 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: stale-assigned, stale-minor
>
> 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)