diff options
| author | TerryHowe <terrylhowe@gmail.com> | 2015-08-09 07:31:34 -0600 |
|---|---|---|
| committer | Terry Howe <terrylhowe@gmail.com> | 2015-08-13 22:16:10 +0000 |
| commit | 6c46355734f7a7278b92645e6a465b6e38096daf (patch) | |
| tree | dec39284f0e12df083e14f28ef48d44f28ca33f6 /openstackclient/shell.py | |
| parent | d828429d6aeb73976d3a2e422477bee2f4b13b64 (diff) | |
| download | python-openstackclient-6c46355734f7a7278b92645e6a465b6e38096daf.tar.gz | |
Optimize log formatting
There is no way to change the configuration variables we want
printed in log messages, so format them in the constructor.
This will save us from overridding the format method and
a couple cpu cycles every log message. This change also moves
the _LOG* variables into the formatter since they aren't really
globally needed.
Change-Id: I706e9db7da3daec20332f9d1533fe665f2739dea
Implements: blueprint logging-migration
Diffstat (limited to 'openstackclient/shell.py')
0 files changed, 0 insertions, 0 deletions
