You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/07/18 08:03:00 UTC
[jira] [Updated] (FLINK-28583) make flink dist log4j dependency simple and clear
[ https://issues.apache.org/jira/browse/FLINK-28583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated FLINK-28583:
-----------------------------------
Labels: pull-request-available (was: )
> make flink dist log4j dependency simple and clear
> -------------------------------------------------
>
> Key: FLINK-28583
> URL: https://issues.apache.org/jira/browse/FLINK-28583
> Project: Flink
> Issue Type: Improvement
> Components: Deployment / Scripts
> Affects Versions: 1.16.0
> Reporter: jackylau
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.16.0
>
>
> flink don't shade the log4j and want to put it flink/lib using shade exclusion like thisĀ
> {code:java}
> <excludes>
> <!-- log4j 2 is bundled separately from the flink-dist jar -->
> <exclude>org.apache.logging.log4j:*</exclude> {code}
> and add this to put them to flink/lib
> {code:java}
> <includes>
> <include>org.apache.logging.log4j:log4j-api</include>
> <include>org.apache.logging.log4j:log4j-core</include>
> <include>org.apache.logging.log4j:log4j-slf4j-impl</include>
> <include>org.apache.logging.log4j:log4j-1.2-api</include>
> </includes> {code}
> i suggest to make the log4j to provided.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)