commit | 0f9a1a80c76054c322e2d1768cf24a3e4bd49496 | [log] [tgz] |
---|---|---|
author | Jongyoul Lee <jongyoul@gmail.com> | Wed Jul 11 16:16:43 2018 +0900 |
committer | Jongyoul Lee <jongyoul@apache.org> | Thu Jul 12 13:43:33 2018 +0900 |
tree | 7e8bd0ca93549c579dda0fd3ecaedaa237946a92 | |
parent | 1ac0e2f0086b7da5b7149562f2db8647c3b711c9 [diff] |
[ZEPPELIN-3600] Add REST API to change logger level dynamically ### What is this PR for? Enabling users to change the level of a specific logger to investigate Zeppelin server's status. ### What type of PR is it? [Feature] ### Todos * [x] - Add api to change the level of logger * [x] - Add exception handler ### What is the Jira issue? * https://issues.apache.org/jira/browse/ZEPPELIN-3600 ### How should this be tested? 1. http --session ~/session.txt --form POST http://localhost:8080/api/login userName=admin password=password1 1. http --session ~/session.txt POST http://localhost:8080/api/admin name=org.apache.zeppelin.rest.AdminRestApi level=DEBUG ### Screenshots (if appropriate) ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? May be Author: Jongyoul Lee <jongyoul@gmail.com> Closes #3060 from jongyoul/ZEPPELIN-3600 and squashes the following commits: 618f76074 [Jongyoul Lee] Add admin permisson to aceess /api/admin/** Change error message clearly to show a specific problem 04308bd75 [Jongyoul Lee] Change `Preconditions` to a self-check logic to throw BadRequestException Add `WebApplicationExceptionMapper` to the server Implement `ExceptionSerializer` for gson Implement `WebApplicationExceptionMapper` 5127d89b4 [Jongyoul Lee] Add api to show all loggers' name and level Add api to show a specific logger's name and level Add api to change a logger's level
Documentation: User Guide
Mailing Lists: User and Dev mailing list
Continuous Integration:
Contributing: Contribution Guide
Issue Tracker: Jira
License: Apache 2.0
Zeppelin, a web-based notebook that enables interactive data analytics. You can make beautiful data-driven, interactive and collaborative documents with SQL, Scala and more.
Core feature:
To know more about Zeppelin, visit our web site http://zeppelin.apache.org
Please go to install to install Apache Zeppelin from binary package.
Please check Build from source to build Zeppelin from source.