phoenix-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajeshbabu Chintaguntla (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-5282) "--debug" option for Sqlline
Date Thu, 06 Jun 2019 01:30:00 GMT

    [ 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)

Mime
View raw message