This is an automatically generated e-mail. To reply, visit: http://reviewboard-openlmi.rhcloud.com/r/885/

On September 25th, 2013, 2:50 p.m. UTC, Jan Safranek wrote:

src/python/lmi/providers/cmpi_logging.py (Diff revision 1)
def trace_function(func, frame_level=1):
351
        err_handler = logging.StreamHandler(logging_level)
This works for me:

err_handler = 
logging.StreamHandler(sys.stderr)
err_handler.setLevel(logging_level)
Thanks for a fix!

- Michal


On September 25th, 2013, 1:44 p.m. UTC, Michal Minar wrote:

Review request for OpenLMI Developers.
By Michal Minar.

Updated Sept. 25, 2013, 1:44 p.m.

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)

View Diff