ryanvanhuuksloot opened a new pull request, #25888:
URL: https://github.com/apache/flink/pull/25888

   Flink Jira Issue: https://issues.apache.org/jira/browse/FLINK-36997
   
   ## What is the purpose of the change
   
   By default, threads add this contextmap
   
   {
     "event": {
       "timestamp": "2024-12-16T14:38:00.458Z",
       "message": "Starting up...",
       "application": "xyz",
       "contextMap": 
"{\"environment\":\"Production\",\"is_backfill\":\"false\"}",
       "endOfBatch": "false",
   ...
   }
   We want to be able to do
   
   ```
   "context_map_environment": "Production",
   "context_map_is_backfill": "false",
   ```
   
   However, for that we need log4j-layout-template-json. We could maintain it 
in our private fork but the log4j json template is deprecated and we should 
slowly move to json-template as a community. This can be the first step which 
unblocks users so they don't need to manually maintain log4j version 
compatibility.
   
   
   ## Brief change log
   
   Add log4j JSON Template Layout into the `flink-dist`
   
   
   ## Verifying this change
   
   This change is a trivial rework / code cleanup without any test coverage.
   I don't believe there are is any test coverage for dependencies.
   
   ## Does this pull request potentially affect one of the following parts:
   
     - Dependencies (does it add or upgrade a dependency): yes
     - The public API, i.e., is any changed class annotated with 
`@Public(Evolving)`: no
     - The serializers: no
     - The runtime per-record code paths (performance sensitive): no
     - Anything that affects deployment or recovery: JobManager (and its 
components), Checkpointing, Kubernetes/Yarn, ZooKeeper: kind of (mostly no but 
we do modify the flink-dist)
     - The S3 file system connector: no
   
   ## Documentation
   
     - Does this pull request introduce a new feature? yes
     - If yes, how is the feature documented? Adding a doc
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to