Modify log infomation to achieve the same format

Some log information starts with capital letter
Some log information starts with lowercase letter
Change them to starting with capital letter

Closes-Bug:#1732375

Change-Id: Ib40a327d299292ba3a417f3f0384f466fcefaa80
This commit is contained in:
byhan 2017-11-15 04:11:44 -05:00 committed by Renat Akhmerov
parent 139d3ea5f3
commit 068aa53623
3 changed files with 5 additions and 5 deletions

View File

@ -71,7 +71,7 @@ def do_stamp(config, cmd):
def do_populate(config, cmd):
LOG.info("populating db")
LOG.info("Populating db")
action_manager.sync_db()
workflows.sync_db()

View File

@ -99,7 +99,7 @@ def _delete(executions):
auth_ctx.set_ctx(ctx)
LOG.debug(
'DELETE execution id : %s from date : %s '
'Delete execution id : %s from date : %s '
'according to expiration policy',
execution.id,
execution.updated_at

View File

@ -26,7 +26,7 @@ LOG = logging.getLogger(__name__)
def register_standard_workflows(run_in_tx=True):
LOG.debug("registering standard workflows")
LOG.debug("Registering standard workflows")
workflow_paths = utils.get_file_list(STD_WF_PATH)
for wf_path in workflow_paths:
@ -54,7 +54,7 @@ def sync_db():
def create_workflows(definition, scope='private', is_system=False,
run_in_tx=True, namespace=''):
LOG.debug("creating workflows")
LOG.debug("Creating workflows")
wf_list_spec = spec_parser.get_workflow_list_spec_from_yaml(definition)
db_wfs = []
@ -97,7 +97,7 @@ def _append_all_workflows(definition, is_system, scope, namespace,
def update_workflows(definition, scope='private', identifier=None,
namespace=''):
LOG.debug("updating workflows")
LOG.debug("Updating workflows")
wf_list_spec = spec_parser.get_workflow_list_spec_from_yaml(definition)
wfs = wf_list_spec.get_workflows()