hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gopal V (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-16285) Servlet for dynamically configuring log levels
Date Fri, 07 Apr 2017 06:55:41 GMT

    [ https://issues.apache.org/jira/browse/HIVE-16285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15960372#comment-15960372
] 

Gopal V commented on HIVE-16285:
--------------------------------

Will test this tomorrow - but as a quick note, it is an XSRF anti-pattern to use a GET URL
to change a system config.

{code}
+ * Set root logger to INFO:
+ * http://<hostame>:<port>/conflog?logger=INFO
{code}

Adding a POST for write & GET for read would be good.

> Servlet for dynamically configuring log levels
> ----------------------------------------------
>
>                 Key: HIVE-16285
>                 URL: https://issues.apache.org/jira/browse/HIVE-16285
>             Project: Hive
>          Issue Type: Improvement
>          Components: Logging
>    Affects Versions: 2.2.0
>            Reporter: Prasanth Jayachandran
>            Assignee: Prasanth Jayachandran
>         Attachments: HIVE-16285.1.patch, HIVE-16285.2.patch, HIVE-16285.3.patch
>
>
> Many long running services like HS2, LLAP etc. will benefit from having an endpoint to
dynamically change log levels for various loggers. This will help greatly with debuggability
without requiring a restart of the service. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message