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

Gautam G commented on CASSANDRA-19105:
--------------------------------------

[~bschoeni] i tried to make some changes
[github|https://github.com/GautamGottipati/cassandra/commit/4a1228f2721476db94d1bc3692a2a880b7099708?diff=split&w=0]

Some of the issues after these changes : 1) When we enable capture the 
self.color becomes false (line 1649 in qlshmain.py), due to this the trace is 
not colored when printed in shell( sysout) 2) There is some issue on printing 
Tracing session to the file. The Tracing session: does n't appear in the first 
run, it appears in the next runs.

Wanted to know if I am on right track. Open for suggestions.
Thank you

 

> Using Capture to save results in CQLSH with Tracing on incorrectly saves the 
> trace details
> ------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-19105
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-19105
>             Project: Cassandra
>          Issue Type: Bug
>          Components: CQL/Interpreter
>            Reporter: Brad Schoening
>            Assignee: Gautam G
>            Priority: Normal
>
> When using *Tracing* in CQLSH, it's sometimes helpful to use *Capture* to 
> avoid paging through output when you want to see the trace results.  However, 
> the trace results are also incorrectly captured to the output file.
> According to *Help Capture* (below), only the query result should be saved. 
> The correct behavior should display the trace results and only capture the 
> query results.
>         {_}Help capture message{_}:  Only query result output is captured. 
> Errors and output from cqlsh-only commands will still be shown in the cqlsh 
> session.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to