OpenStack library for all concurrency-related code
Go to file
Amrith Kumar 0923ea1c23 Log stdout, stderr and command on execute() error
It would help debugging considerably if a failure in execute()
generated a message (at a client specified logging level). Such a
message, generated by execute() would only occur if the user requested
it by specifying a parameter (log_errors), and execute() were to throw
an exception. As an example, this change would address the issue being
addressed in bug 1340124 for the Trove project only.

DocImpact: New parameter added to processutils.execute().  The
possible values of the log_errors parameter are 'all' or 'final'. The
default value of None implies no logging. If it is set to 'final',
stdout and stderr are logged on the final failure. If it is set to
'all', stdout and stderr are logged on every failure.

Originally-submitted-in: If8180e042e1a05374ef705f5873cc0981243619f

Change-Id: Id9e94bd8d009b8f134f0b681da5dec5717d662ff
DocImpact:
Closes-Bug: #1342857
Suggested-By: Peter Stachowski <peter@tesora.com>
Reported-By: Ionuț Arțăriși <iartarisi@suse.cz>
2014-09-02 22:23:41 -04:00
doc/source Fix docs generation 2014-08-16 00:15:34 +04:00
oslo Log stdout, stderr and command on execute() error 2014-09-02 22:23:41 -04:00
oslo.concurrency/locale Imported Translations from Transifex 2014-08-24 06:07:44 +00:00
tests Log stdout, stderr and command on execute() error 2014-09-02 22:23:41 -04:00
tools Make all tests pass 2014-08-07 22:27:31 +04:00
.coveragerc exported from oslo-incubator by graduate.sh 2014-08-07 22:26:50 +04:00
.gitignore exported from oslo-incubator by graduate.sh 2014-08-07 22:26:50 +04:00
.gitreview exported from oslo-incubator by graduate.sh 2014-08-07 22:26:50 +04:00
.mailmap exported from oslo-incubator by graduate.sh 2014-08-07 22:26:50 +04:00
.testr.conf exported from oslo-incubator by graduate.sh 2014-08-07 22:26:50 +04:00
babel.cfg exported from oslo-incubator by graduate.sh 2014-08-07 22:26:50 +04:00
CONTRIBUTING.rst Fix docs generation 2014-08-16 00:15:34 +04:00
HACKING.rst exported from oslo-incubator by graduate.sh 2014-08-07 22:26:50 +04:00
LICENSE exported from oslo-incubator by graduate.sh 2014-08-07 22:26:50 +04:00
MANIFEST.in exported from oslo-incubator by graduate.sh 2014-08-07 22:26:50 +04:00
openstack-common.conf Switch to oslo.i18n in our code 2014-08-21 21:10:18 +04:00
README.rst exported from oslo-incubator by graduate.sh 2014-08-07 22:26:50 +04:00
requirements-py3.txt Switch to oslo.i18n in our code 2014-08-21 21:10:18 +04:00
requirements.txt Switch to oslo.i18n in our code 2014-08-21 21:10:18 +04:00
setup.cfg exported from oslo-incubator by graduate.sh 2014-08-07 22:26:50 +04:00
setup.py Make all tests pass 2014-08-07 22:27:31 +04:00
test-requirements.txt Fix docs generation 2014-08-16 00:15:34 +04:00
tox.ini Fix docs generation 2014-08-16 00:15:34 +04:00

oslo.concurrency

oslo.concurrency library