[ 
https://issues.apache.org/jira/browse/HIVE-24591?focusedWorklogId=534533&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-534533
 ]

ASF GitHub Bot logged work on HIVE-24591:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 11/Jan/21 20:57
            Start Date: 11/Jan/21 20:57
    Worklog Time Spent: 10m 
      Work Description: belugabehr commented on pull request #1833:
URL: https://github.com/apache/hive/pull/1833#issuecomment-758218546


   @nrg4878 beeline uses Log4J as the backend logger.  Log4J is a pretty 
robust, heavy, logging implementation that plugs into SLF4J.  I have proposed 
here that we swap out Log4J and use the 'Simple' logger that is produced by 
SLF4J team.  This will make configuring beeline debug logging much easier.  
Sure, we won't be able to forward beeline log statements to JMS and Kafka 
anymore, but who would want to do that anyway? :)


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 534533)
    Time Spent: 1h 20m  (was: 1h 10m)

> Move Beeline To SLF4J Simple Logger
> -----------------------------------
>
>                 Key: HIVE-24591
>                 URL: https://issues.apache.org/jira/browse/HIVE-24591
>             Project: Hive
>          Issue Type: Improvement
>          Components: Beeline
>            Reporter: David Mollitor
>            Assignee: David Mollitor
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> To make beeline as simple as possible, move its SLF4J logger implementation 
> to SLFJ-Simple logger.  This will allow users to change the logging level 
> simply on the command line.  Currently uses must create a Log4J configuration 
> file which is way too advance/cumbersome for a data analyst that just wants 
> to use SQL (and do some minor troubleshooting)
> {code:none}
> export HADOOP_CLIENT_OPTS="-Dorg.slf4j.simpleLogger.defaultLogLevel=debug"
> beeline ...
> {code}
> http://www.slf4j.org/api/org/slf4j/impl/SimpleLogger.html



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to