On Sept. 25, 2013, 2:50 p.m., Jan Safranek wrote:
> src/python/lmi/providers/cmpi_logging.py, line 388
>
<
http://reviewboard-openlmi.rhcloud.com/r/885/diff/1/?file=4960#file4960li...
>
> This works for me:
>
> err_handler =
> logging.StreamHandler(sys.stderr)
> err_handler.setLevel(logging_level)
Thanks for a fix!
- Michal
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard-openlmi.rhcloud.com/r/885/#review1230
-----------------------------------------------------------
On Sept. 25, 2013, 1:44 p.m., Michal Minar wrote:
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard-openlmi.rhcloud.com/r/885/
-----------------------------------------------------------
(Updated Sept. 25, 2013, 1:44 p.m.)
Review request for OpenLMI Developers.
Repository: openlmi-providers
Description
-------
python: support for older versions of python (2.6)
dictConfig() function of logging.config module is not present in stdlib
of python 2.6. This change replaces mentioned function call with manual
setup of handlers and modules.
Diffs
-----
src/python/lmi/providers/cmpi_logging.py c1e29c90c1c40aa81f0af196bf29da5674b10312
Diff:
http://reviewboard-openlmi.rhcloud.com/r/885/diff/
Testing
-------
Thanks,
Michal Minar