Re: Log4j2 configuration

2022-02-16 Thread Tamir Sagi
https://issues.apache.org/jira/browse/FLINK-25762 [3] https://github.com/apache/flink/pull/18447/files# Hope it helps, Tamir From: Chesnay Schepler Sent: Wednesday, February 16, 2022 11:15 AM To: jonas eyob Cc: user Subject: Re: Log4j2 configuration EXTERNAL EMAIL hmm..

Re: Log4j2 configuration

2022-02-16 Thread Chesnay Schepler
hmmyes then it is indeed weird that it can't find the logger, but their error messages are notorious for being misleading in my experience. Can you set the log4j2.debug system property (to any value, even an empty string) and try again? If that doesn't reveal anything I would try the followi

Re: Log4j2 configuration

2022-02-15 Thread jonas eyob
1. Ok, thanks! 2. We are using application mode. No changes to the distribution other than updating the log4j-console.properties file. content of /lib/: * flink-csv-1.14.3.jar * flink-json-1.14.3.jar * flink-table_2.12-1.14.3.jar * log4j-api-2.17.1.jar * log4j-slf4j-impl-2.17.1.jar * flink-dist_2

Re: Log4j2 configuration

2022-02-15 Thread Chesnay Schepler
1) You either need to modify the log4j-console.properties file, or explicitly set the log4j.configurationFile property to point to your .xml file. 2) Have you made modifications to the distribution (e.g., removing other logging jars from the lib directory)? Are you using application mode, or s

Log4j2 configuration

2022-02-15 Thread jonas eyob
Hey, We are deploying our Flink Cluster on a standalone Kubernetes with the longrunning job written in scala. We recently upgraded our Flink cluster from 1.12 to 1.14.3 - after which we started seeing a few problems related to logging which I have been struggling to fix for the past days). Relate