aurora-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Chu-Carroll (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AURORA-473) V2 client lacks informative output when updating
Date Tue, 27 May 2014 18:38:02 GMT

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

Mark Chu-Carroll commented on AURORA-473:
-----------------------------------------

This is caused by a difference in the default log level setting. In clientv1, the system is
very noisy, printing out a lot of information that's not particularly useful. In clientv2,
that's suppressed by default.

What I would like to do, eventually, is refine the logging levels to allow us to be more selective.
Right now, all sorts of things get logged as INFO-level. Messages from the updater definitely
deserve to be seen by users, logs about session identifiers don't - but right now, both are
INFO-level - we can't suppress one without also suppressing the other.

As an interim fix, I can add a "--verbose" parameter to update, which will cause it to emit
all of its INFO-level log messages, and create a new ticket for the more general log-level
refactoring. Would that be acceptable?


> V2 client lacks informative output when updating
> ------------------------------------------------
>
>                 Key: AURORA-473
>                 URL: https://issues.apache.org/jira/browse/AURORA-473
>             Project: Aurora
>          Issue Type: Story
>          Components: Client
>            Reporter: Bill Farner
>
> This is visible in the end-to-end tests, where the v1 client displays job update progress:
> {noformat}
> + vagrant ssh -c 'aurora update devcluster/vagrant/test/http_example /vagrant/src/test/sh/org/apache/aurora/e2e/http/http_example_updated.aurora'
>  INFO] Updating job: http_example
>  INFO] Starting job update.
>  INFO] Examining instances: [0]
>  INFO] Killing instances: [0]
>  INFO] Instances killed
>  INFO] Adding instances: [0]
>  INFO] Instances added
>  INFO] Watching instances: [0]
>  INFO] Detected RUNNING instance 0
> {noformat}
> The v2 client lacks this:
> {noformat}
> + vagrant ssh -c 'aurora2 job update devcluster/vagrant/test/http_example /vagrant/src/test/sh/org/apache/aurora/e2e/http/http_example_updated.aurora'
> Warning: this update is a large change. Press ^C within 5 seconds to abort
> ++ vagrant ssh -c 'aurora2 task run devcluster/vagrant/test/http_example '\''pwd'\'''
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message