Use debug instead of warning for pipeline implement error

Now pipeline is heavily used in Zaqar for controller, but unfortunately
operators will see a lot of WARNING errors in Zaqar's log because
some of the controllers don't implement one of the methods. That should
be a development details and it's not necessary to expose as WARNING,
otherwise, operators will be scared.

Change-Id: I98c574dc240372627d9e760fc0253c6340a9463f
This commit is contained in:
Fei Long Wang 2016-06-09 07:15:27 +12:00
parent 86419a6883
commit d30ceae3bd
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ class Pipeline(object):
sstage = six.text_type(stage)
msgtmpl = _(u"Stage %(stage)s does not "
"implement %(method)s")
LOG.warning(msgtmpl, {'stage': sstage, 'method': method})
LOG.debug(msgtmpl, {'stage': sstage, 'method': method})
continue
tmp = target(*args, **kwargs)