GitHub user rajarajan-g opened a pull request:
https://github.com/apache/zeppelin/pull/1399
[ZEPPELIN-1182] Zeppelin should have Startup and Shutdown message
### What is this PR for?
PR is for logging configuration details of Zeppelin server.
### What type of PR is it?
Improvement
### Todos
* [ ] - Task
### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-1182
### How should this be tested?
Please check the log if information on Server host, server path, context
path, zeppelin version, class path is available in that file.
### Screenshots (if appropriate)
### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No
Note:
For configuration details such as zeppelin version, server host, port
& context path , these are available as part of zeppelin configuration.
Logging information
```
INFO [2016-09-02 14:35:25,218] ({main}
ZeppelinConfiguration.java[create]:107) - Server Host: 0.0.0.0
INFO [2016-09-02 14:35:25,218] ({main}
ZeppelinConfiguration.java[create]:108) - Server Port: 8080
INFO [2016-09-02 14:35:25,218] ({main}
ZeppelinConfiguration.java[create]:109) - Context Path: /
INFO [2016-09-02 14:35:25,224] ({main}
ZeppelinConfiguration.java[create]:110) - Zeppelin Version: 0.7.0-SNAPSHOT
```
For Zeppelin class path and restart information, I am logging it from
Shell script to log file as in below paragraph, So the format of logging is
different . I know this is not per standards, Please let me know if you have
any suggestions
```
Zeppelin is restarted
ZEPPELIN_CLASSPATH:
/home/rajarajang/Workspace/stsWorksapce/zeppelin/zeppelin-server/target/lib/*:/home/rajarajang/Workspace/stsWorksapce/zeppelin/zeppelin-zengine/target/lib/*:/home/rajarajang/Workspace/stsWorksapce/zeppelin/zeppelin-interpreter/target/lib/*:/home/rajarajang/Workspace/stsWorksapce/zeppelin/*::/home/rajarajang/Workspace/stsWorksapce/zeppelin/conf:/home/rajarajang/Workspace/stsWorksapce/zeppelin/zeppelin-interpreter/target/classes:/home/rajarajang/Workspace/stsWorksapce/zeppelin/zeppelin-zengine/target/classes:/home/rajarajang/Workspace/stsWorksapce/zeppelin/zeppelin-server/target/classes
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rajarajan-g/zeppelin ZEPPELIN-1182
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zeppelin/pull/1399.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 #1399
----
commit da69b165dfdd7c3911405ff84d824c9698fe31b0
Author: rajarajan-g <[email protected]>
Date: 2016-09-02T09:21:03Z
Added log statements for configuration
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---