openstack-python-openstackc.../openstackclient/common
Akihiro Motoki 50d54bb007 log_method: get logger from decorated method if unspecified
This commit makes 'log' optional.
'log' attribute of each command class does not exist
when the class is defined because 'log' is now setup
dynamically when a class is instantiated. Instead log_method
looks for a logger from a decorating method.

compute.v2.server is changed in this commit as an example.

Change-Id: Ic4d128f8e027d3b8e6f884f31369e9085c0f0871
Partial-Bug: #1532294
2016-01-20 22:02:19 +09:00
..
__init__.py Remove copyright from empty files 2014-01-20 17:28:13 +04:00
clientmanager.py Refactor network endpoint enablement checking 2016-01-04 13:49:49 -06:00
command.py Set up logger of each command by metaclass 2016-01-20 22:02:19 +09:00
commandmanager.py Delete the unused LOG configure code 2016-01-05 02:47:12 -05:00
configuration.py Use a common decorator to log 'take_action' activation 2015-09-01 16:49:54 -07:00
exceptions.py Upgraded to PEP8 1.3.3 to stay aligned with Nova, etc. 2013-01-31 13:31:41 -06:00
extension.py Merge "Use Block Storage instead of Volume" 2016-01-04 16:23:30 +00:00
limits.py Use Block Storage instead of Volume 2015-11-27 17:56:10 +08:00
logs.py Rename context.py to logs.py 2015-10-30 17:38:42 +09:00
module.py Use a common decorator to log 'take_action' activation 2015-09-01 16:49:54 -07:00
parseractions.py Fix the bug of "openstack console log show" 2015-11-09 04:22:09 -05:00
quota.py Add project name/ID validation for "openstack quota show" 2015-11-29 22:30:04 -05:00
session.py Switch to ksa Session 2015-12-02 01:55:14 +00:00
timing.py Fix session timing 2015-04-07 23:53:31 -07:00
utils.py log_method: get logger from decorated method if unspecified 2016-01-20 22:02:19 +09:00