Sysinv had partially converted to oslo_log, but
not all the files had been updated. This completes
that conversion and completely removes
- sysinv.openstack.common.log.py
- sysinv.openstack.common.log_handler.py
Most of the changes in this review are:
Old Code:
from sysinv.openstack.common import log
New Code:
from oslo_log import log
Two main differences are:
- verbose flag was removed from oslo_log config in 2017
- oslo_log automatically prefixes each line with config type (sysinv)
Old Prefix:
2019-11-01 16:39:24.142 72561 INFO
New Prefix:
sysinv 2019-11-05 18:55:03.620 96275 INFO
Change-Id: I0dda384d943c6dc9277ebce87a6b295fb62500ff
Story: 2006796
Task: 37342
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>