GitHub user zjffdu opened a pull request: https://github.com/apache/zeppelin/pull/2656
ZEPPELIN-3039. Interpreter logs are mixed together ### What is this PR for? This is a bug introduced by ZEPPELIN-2685. Wrong interpreter setting name is passed. This PR fix this issue and also made some code refactoring. After this PR, the log file name is ${ZEPPELIN_LOG_DIR}/zeppelin-interpreter-${INTERPRETER_SETTING_NAME}-${ZEPPELIN_IDENT_STRING}-${HOSTNAME}.log ### What type of PR is it? [Bug Fix] ### Todos * [ ] - Task ### What is the Jira issue? * https://issues.apache.org/jira/browse/ZEPPELIN-3039 ### How should this be tested? Create 2 jdbc interpreters: hive & hive2,and launch them both. There would be 2 log files generated. * zeppelin-interpreter-hive-jzhang-HW12527.log * zeppelin-interpreter-hive2-jzhang-HW12527.log ### Screenshots (if appropriate) ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No You can merge this pull request into a Git repository by running: $ git pull https://github.com/zjffdu/zeppelin ZEPPELIN-3039 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zeppelin/pull/2656.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2656 ---- commit 2745151cbb8c1f0f666a29997d4f48a2c45698e5 Author: Jeff Zhang <zjf...@apache.org> Date: 2017-11-08T02:56:30Z ZEPPELIN-3039. Interpreter logs are mixed together ---- ---