You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Donghui Xu (JIRA)" <ji...@apache.org> on 2017/07/20 02:22:00 UTC

[jira] [Comment Edited] (SENTRY-1853) Add the log level access mechanism

    [ 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/20/17 2:21 AM:
-------------------------------------------------------------

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.


was (Author: davidxdh):
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)