Hi everyone,
basic question, but I just want to check if my current understanding of the log4j property files inside flink's conf directory is correct. log4j-cli.properties: Used by the client "flink run/list" for code not executed in the cluster log4j-yarn-session.properties Used by the client when starting a yarn session "./yarn-session.sh" lo4j.properties: JobManager/Taskmanager Logs in Standalone-Mode. Not used, when running on YARN. Cheers, Konstantin -- Konstantin Knauf * [hidden email] * +49-174-3413182 TNG Technology Consulting GmbH, Betastr. 13a, 85774 Unterföhring Geschäftsführer: Henrik Klagges, Christoph Stock, Dr. Robert Dahlke Sitz: Unterföhring * Amtsgericht München * HRB 135082 |
i believe the log4j.properties are always used for JM/TM logs,
and log4j-yarn-session.properties strictly for pure YARN stuff. On 30.05.2016 18:30, Konstantin Knauf wrote: > Hi everyone, > > basic question, but I just want to check if my current understanding of > the log4j property files inside flink's conf directory is correct. > > log4j-cli.properties: Used by the client "flink run/list" for code not > executed in the cluster > log4j-yarn-session.properties Used by the client when starting a yarn > session "./yarn-session.sh" > lo4j.properties: JobManager/Taskmanager Logs in Standalone-Mode. Not > used, when running on YARN. > > Cheers, > > Konstantin |
In reply to this post by snntr
I think "log4j.properties" is also used for YARN (it is included in the shipped bundle, together with jars). Otherwise it is correct. Would be good to write that down somewhere... On Mon, May 30, 2016 at 6:30 PM, Konstantin Knauf <[hidden email]> wrote: Hi everyone, |
Added a note to the logging section of the docs. Website should be
updated with the nightly build. On Mon, May 30, 2016 at 7:56 PM, Stephan Ewen <[hidden email]> wrote: > I think "log4j.properties" is also used for YARN (it is included in the > shipped bundle, together with jars). > > Otherwise it is correct. > > Would be good to write that down somewhere... > > On Mon, May 30, 2016 at 6:30 PM, Konstantin Knauf > <[hidden email]> wrote: >> >> Hi everyone, >> >> basic question, but I just want to check if my current understanding of >> the log4j property files inside flink's conf directory is correct. >> >> log4j-cli.properties: Used by the client "flink run/list" for code not >> executed in the cluster >> log4j-yarn-session.properties Used by the client when starting a yarn >> session "./yarn-session.sh" >> lo4j.properties: JobManager/Taskmanager Logs in Standalone-Mode. Not >> used, when running on YARN. >> >> Cheers, >> >> Konstantin >> -- >> Konstantin Knauf * [hidden email] * +49-174-3413182 >> TNG Technology Consulting GmbH, Betastr. 13a, 85774 Unterföhring >> Geschäftsführer: Henrik Klagges, Christoph Stock, Dr. Robert Dahlke >> Sitz: Unterföhring * Amtsgericht München * HRB 135082 > > |
Free forum by Nabble | Edit this page |