Andrew Wong has uploaded this change for review. ( http://gerrit.cloudera.org:8080/15628
Change subject: wip ranger: direct client logs to a log file ...................................................................... wip ranger: direct client logs to a log file This patch enables us to direct Java subprocess logs to a rolling file with the new "-r" option. The subprocess will use the KUDU_LOG_DIR and KUDU_LOG_NAME system properties to output logs as appropriate. Since, in production, we expect users to prefer these logs over stdout, this also makes logging to stdout optional with the new "-s" option. Logging to stdout is enabled in subprocess_proxy-test and subprocess_server-test since it's useful to view the subprocess logs in-line with test output. wip: needs a test Change-Id: I7efa631832c219fce214304538e6ab6442062752 --- M java/kudu-subprocess/src/main/java/org/apache/kudu/subprocess/SubprocessConfiguration.java M java/kudu-subprocess/src/main/java/org/apache/kudu/subprocess/echo/EchoSubprocessMain.java M java/kudu-subprocess/src/main/resources/log4j2.properties M src/kudu/ranger/ranger_client.cc M src/kudu/subprocess/subprocess_proxy-test.cc M src/kudu/subprocess/subprocess_server-test.cc 6 files changed, 82 insertions(+), 33 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/28/15628/1 -- To view, visit http://gerrit.cloudera.org:8080/15628 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I7efa631832c219fce214304538e6ab6442062752 Gerrit-Change-Number: 15628 Gerrit-PatchSet: 1 Gerrit-Owner: Andrew Wong <[email protected]>
