Logging with configuration file
Provide logging based on configuration file where user can specify log path, etc. This follows guideline provided at https:/
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Sahdev Zala
- Direction:
- Needs approval
- Assignee:
- srinivas_tadepalli
- Definition:
- New
- Series goal:
- None
- Implementation:
- Implemented
- Milestone target:
- None
- Started by
- Sahdev Zala
- Completed by
- Sahdev Zala
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Supporting logging in heat-translator with config file
(spzala)
Hi Srinivas, I hit a problem when running OpenStackClient with logging config file as below,
openstack@
Exception raised: No section: 'formatters'
openstack@
With some research I found, the error could be due to relative path i.e. logging.conf location. I moved it under /translator directory but that didn't work, though still believe the issue probably has something to do with the path (that it works fine with python heat_translator.py but with shell command like osc or $heat-translate it gives error. Since logging blueprint is still in progress and you are working on completing it, I temporary modified translate.py (/osc/v1) and shell.py (/translator) as you will notice. Can you please take care of this with issue with ongoing work? Thanks.
Addressed by: https:/
Added log messages
(spzala) implemenetd by srinivas_tadepalli ..nice work!!