[
https://issues.apache.org/jira/browse/FLINK-16883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Fabian Paul updated FLINK-16883:
--------------------------------
Description:
If `flink.console.sh` is used to start a Flink cluster the env java opts
precede the log settings. ([link)|#L73]]
This way the log settings `log4.configurationFile` will always overwrite
previous keys. Since the `log4j.configurationFile` is set to
`log4j.properties`, it is not possible to leverage other formats than
properties for the configuration.
My proposal would be to switch the order of the configurations that the log
settings precede the env java opts. Users could then overwrite the default file
with their configurations.
was:
If `flink.console.sh` is used to start a Flink cluster the env java opts
precede the log settings. ([link)|#L73]]
This way the log settings `log4.configurationFile` will always overwrite
previous keys. Since the `log4j.configurationFile` is set to `log4j.properties`
it is not possible to leverage other formats than properties for the
configuration.
My proposal would be to switch the order of the configurations that the log
settings precede the env java opts. Users could then overwrite the default file
with their configurations.
> No support for log4j2 configuration formats besides properties
> --------------------------------------------------------------
>
> Key: FLINK-16883
> URL: https://issues.apache.org/jira/browse/FLINK-16883
> Project: Flink
> Issue Type: Improvement
> Components: Command Line Client
> Affects Versions: 1.11.0
> Reporter: Fabian Paul
> Priority: Major
>
> If `flink.console.sh` is used to start a Flink cluster the env java opts
> precede the log settings. ([link)|#L73]]
> This way the log settings `log4.configurationFile` will always overwrite
> previous keys. Since the `log4j.configurationFile` is set to
> `log4j.properties`, it is not possible to leverage other formats than
> properties for the configuration.
>
> My proposal would be to switch the order of the configurations that the log
> settings precede the env java opts. Users could then overwrite the default
> file with their configurations.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)