rally-openstack/rally/plugins/openstack/cleanup
Boris Pavlovic af9865c447 Improve Rally Logging (part 3)
- Remove translations

  Nobody is using translations for Rally and I don't think that
  anybody is going to use it. Target auditory for Rally are
  developers/operators which usually know well english.
  For me this looks like waste of resources, performance
  degradation (cause we are calling _()), complexity
  (+1 thing that you need to know)

- Pass to log already formatted strings

  It's very bad because in case of wrong formatting, it
  doesn't fail instead just writes errors to the logs,
  as well information about trace is lost, so it's super
  hard to fix it

  Log wrapper doesn't allow to use LOG anymore for
  formatting strings

  All places are fixed

- Improve logging of exceptions

LOG.exception() already logs exception, which means it's bad idea to
pass str(e) to it. Instead we should provide clear description of what
happend. Improved few places to write warnings or exceptions in case
of different level of logs. In few places just use LOG.exception

- Part of log messages were improved and simplified

Change-Id: Ie3f7b4e00c804b0aeee6dc117a98a24efa240340
2017-10-05 22:58:43 +00:00
..
__init__.py Move OpenStack cleanup utils out of context 2016-02-04 15:45:06 -06:00
base.py Remove OPTs from 'utils.py' 2017-04-10 16:36:04 +03:00
manager.py Improve Rally Logging (part 3) 2017-10-05 22:58:43 +00:00
resources.py Improve Rally Logging (part 3) 2017-10-05 22:58:43 +00:00