[ 
https://issues.apache.org/jira/browse/SENTRY-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Donghui Xu updated SENTRY-1853:
-------------------------------
    Description: 
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/admin/logLevel? Log = 
CLASS_NAME
2. Set the log level.  URL address is http: //HOST: PORT/admin/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.

  was:
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.


> 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, SENTRY-1853.002.patch, 
> SENTRY-1853.003.patch, SENTRY-1853.004.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/admin/logLevel? Log 
> = CLASS_NAME
> 2. Set the log level.  URL address is http: //HOST: PORT/admin/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)

Reply via email to