You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "Rajeshbabu Chintaguntla (JIRA)" <ji...@apache.org> on 2019/06/06 01:30:00 UTC

[jira] [Commented] (PHOENIX-5282) "--debug" option for Sqlline

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

Rajeshbabu Chintaguntla commented on PHOENIX-5282:
--------------------------------------------------

[~kpalanisamy] we have PHOENIX_OPTS environment variable to extend the sqlline/sqlline-thin  options without changing the log4j also. If that works for you this change may not be needed. Please confirm and close if it's ok for you.

> "--debug" option for Sqlline
> ----------------------------
>
>                 Key: PHOENIX-5282
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5282
>             Project: Phoenix
>          Issue Type: Improvement
>    Affects Versions: 4.7.0, 4.14.0, 5.0.0
>            Reporter: Karthik Palanisamy
>            Assignee: Karthik Palanisamy
>            Priority: Minor
>         Attachments: PHOENIX-5282.master.v1.patch, PHOENIX-5282.master.v2.patch
>
>
> This provides a simple flag "–debug" for enabling client-side debug log in Sqlline/Sqlline-thin console.  No changes required from log4j property.
> {code:java}
> sqlline.py --help
> usage: sqlline.py [-h] [-v VERBOSE] [-c COLOR] [-fc FASTCONNECT] [-debug]
> [zookeepers] [sqlfile]
> ...
> optional arguments:
> ...
> -debug, --debug           Enable debug logger.{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)