apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Florian Schmidt (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (APEXCORE-670) CLI should provide command to set log level
Date Wed, 26 Jul 2017 20:22:00 GMT

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

Florian Schmidt commented on APEXCORE-670:
------------------------------------------

So an example for the new command in the CLI could be:

{code}apex>set-log-level application_1499808956620_0873 org.apache.apex.examples.pi.PiCalculateOperator
TRACE{code}

OR

{code}apex (application_1499808956620_0873) >set-log-level org.apache.apex.examples.pi.PiCalculateOperator
TRACE{code}

I will open a pull request with an exemplary implementation of this. 

Should the validation of the logLevel happen on the APEX CLI side? Currently it will just
ignore any logLevel that is not valid

> CLI should provide command to set log level
> -------------------------------------------
>
>                 Key: APEXCORE-670
>                 URL: https://issues.apache.org/jira/browse/APEXCORE-670
>             Project: Apache Apex Core
>          Issue Type: Improvement
>            Reporter: Thomas Weise
>            Assignee: Florian Schmidt
>              Labels: newbie
>
> Changing the log level at runtime is a useful capability exposed through the AM REST
API, the command line should make it available as well.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message