Re: Log4J

2017-02-23 Thread Robert Metzger
Absolutely agreed. I have such a task on my todo list and I hope to find time to address this soon. On Mon, Feb 20, 2017 at 8:08 PM, Stephan Ewen wrote: > How about adding this to the "logging" docs - a section on how to run > log4j2 > > On Mon, Feb 20, 2017 at 8:50 AM, Robert Metzger > wrote:

Re: Log4J

2017-02-20 Thread Stephan Ewen
How about adding this to the "logging" docs - a section on how to run log4j2 On Mon, Feb 20, 2017 at 8:50 AM, Robert Metzger wrote: > Hi Chet, > > These are the files I have in my lib/ folder with the working log4j2 > integration: > > -rw-r--r-- 1 robert robert 79966937 Oct 10 13:49 flink-dist_

Re: Log4J

2017-02-19 Thread Robert Metzger
Hi Chet, These are the files I have in my lib/ folder with the working log4j2 integration: -rw-r--r-- 1 robert robert 79966937 Oct 10 13:49 flink-dist_2.10-1.1.3.jar -rw-r--r-- 1 robert robert90883 Dec 9 20:13 flink-python_2.10-1.1.3.jar -rw-r--r-- 1 robert robert60547 Dec 9 18:45 lo

Re: Log4J

2017-02-19 Thread Chet Masterson
I read through the link you provided, Stephan. However, I am still confused. The instructions mention specific jar files for Logback, I am not sure which of the log4j 2.x jars I need to put in the the flink /lib directory. I tried various combinations of log4j-1.2-api-2.8.jar, log4j-slf4j-impl-2.8.

Re: Log4J

2017-02-16 Thread Robert Metzger
I've also (successfully) tried running Flink with log4j2 to connect it to greylog2. If I remember correctly, the biggest problem was "injecting" the log4j2 properties file into the classpath (when running Flink on YARN). Maybe you need to put the file into the lib/ folder, so that it is shipped to

Re: Log4J

2017-02-16 Thread Stephan Ewen
Hi! The bundled log4j version (1.x) does not support that. But you can replace the logging jars with those of a different framework (like log4j 2.x), which supports changing the configuration without stopping the application. You don't need to rebuild flink, simply replace two jars in the "lib" f

Re: Log4j configuration on YARN

2016-03-14 Thread Robert Metzger
Hi Nick, the name of the "log4j-yarn-session.properties" file might be a bit misleading. The file is just used for the YARN session client, running locally. The Job- and TaskManager are going to use the log4j.properties on the cluster. On Fri, Mar 11, 2016 at 7:20 PM, Ufuk Celebi wrote: > Hey N

Re: Log4j configuration on YARN

2016-03-11 Thread Ufuk Celebi
Hey Nick! I just checked and the conf/log4j.properties file is copied and is given as an argument to the JVM. You should see the following: - client logs that the conf/log4j.properties file is copied - JobManager logs show log4j.configuration being passed to the JVM. Can you confirm that these s