[ https://issues.apache.org/jira/browse/HADOOP-11138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14148627#comment-14148627 ]
Allen Wittenauer commented on HADOOP-11138: ------------------------------------------- This patch needs to get built for trunk not branch-2. The shell code is completely different, so you'll need to make two patches. Logic-wise, however, a couple of things based upon a very quick read: a) These extra settings should get passed into Java as properties, not environment variables. See hadoop.root.logger as an example. b) Please don't introduce more custom vars per daemon for this unless we absolutely have to. (Another advantage to using java properties allows one can set this per daemon without the env vars.) c) What about other systems like TimeLineServer, DN, NN, etc? > Stream yarn daemon and container logs through log4j > --------------------------------------------------- > > Key: HADOOP-11138 > URL: https://issues.apache.org/jira/browse/HADOOP-11138 > Project: Hadoop Common > Issue Type: Improvement > Components: util > Affects Versions: 2.6.0 > Reporter: shreyas subramanya > Priority: Minor > Attachments: HADOOP-11138-1.patch, HADOOP-11138.patch > > > Resource manager, node manager, history server, application master and other > container syslogs can be streamed by configuring a log4j SocketAppender in > the root loggers. -- This message was sent by Atlassian JIRA (v6.3.4#6332)