095142c40d
switch freezer-scheduler to use oslo.config and switch from native python logging module to oslo.log This commit includes: - using oslo.config for parsing cli and config files options - using oslo.log instead of native python logging module - this applied only on freezer-scheduler Implements: blueprint using-oslo-libs Change-Id: I92e99c087cb2c2f836770644621f711af597dffc
403 B
403 B
Freezer Style Commandments
- Step 1: Read the OpenStack Style Commandments http://docs.openstack.org/developer/hacking/
- Step 2: Read on
Freezer Specific Commandments
Logging
Use the common logging module, and ensure you
getLogger
:
from oslo_log import log
LOG = log.getLogger(__name__)
LOG.debug('Foobar')