[ https://issues.apache.org/jira/browse/SENTRY-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16094062#comment-16094062 ]
Donghui Xu edited comment on SENTRY-1853 at 7/24/17 7:18 AM: ------------------------------------------------------------- Thank you. [~akolb] I have submitted review request to review board, the link is [https://reviews.apache.org/r/60955/|https://reviews.apache.org/r/60955/] I have added the url format description. This mechanism references to hadoop implementation. Use of web form is to facilitate the user to operate rather than the developer. So I think there is no need to modify the rest interface. was (Author: davidxdh): Thank you. [~akolb] I have added the url format description. This mechanism references to hadoop implementation. Use of web form is to facilitate the user to operate, rather than the developer. > Add the log level access mechanism > ---------------------------------- > > Key: SENTRY-1853 > URL: https://issues.apache.org/jira/browse/SENTRY-1853 > Project: Sentry > Issue Type: New Feature > Reporter: Donghui Xu > Assignee: Donghui Xu > Attachments: SENTRY-1853.001.patch > > > Add the log level setting and reading mechanism, through which users can > control the log content. > This mechanism provides the url interface,through which users can dynamically > set the log level. Service restores the original log level after restart. > The format of the interface is as follows: > 1. Read the log level. URL address is http: //HOST: PORT/logLevel? Log = > CLASS_NAME > 2. Set the log level. URL address is http: //HOST: PORT/logLevel? Log = > CLASS_NAME & level = LOG_LEVEL > The above parameters include: > HOST: host name or ip address of sentry server. > PORT: port of sentry server. > CLASS_NAME: name of class whose log level is read or set. > LOG_LEVEL: the log level to be set. -- This message was sent by Atlassian JIRA (v6.4.14#64029)