Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-16883

No support for log4j2 configuration formats besides properties

    XMLWordPrintableJSON

Details

    Description

      If `flink.console.sh` is used to start a Flink cluster the env java opts precede the log settings.  (link)

      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.

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              fpaul Fabian Paul
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m