Created attachment 657524 [details] Experimental patch When calling CMPIBroker->logMessage() with CMPI_DEV_DEBUG severity, the message is not saved in Pegasus trace file. All other log levels are saved there. Pegasus is started in this way: cimserver logLevel=TRACE traceLevel=5 enableHttpConnection=true traceFacility=File traceComponents=All CMPI logs are saved using mbEncLogMessage(), which correctly translates the log level and calls Pegasus::Logger::put(), which calls Pegasus::Logger::_putInternal(). Now it starts to be interesting, Logger::_putInternal() sends the message to syslog and then intentionally skips sending the message to trace file with following comment: // PEP 315 // The trace can be routed into the log. The logged trace messages are // logged with logFileType of Logger::TRACE_LOG. // To avoid a cirular writing of these messages, log messages with // logFileType of Logger::TRACE_LOG are never send to the trace. Thus, the message never gets to trace log. Attached patch adds a workaround, I am not sure if it's the best way to fix this bug. Version-Release number of selected component (if applicable): tog-pegasus-2.12.0-2.fc18.test.x86_64
Reported/asked upstream: https://collaboration.opengroup.org/pegasus/mailarch.php?soph=N&action=show&archive=pegasus-l&num=9959&limit=50&offset=0
There's opened upstream bug to track this: http://bugzilla.openpegasus.org/show_bug.cgi?id=9484
tog-pegasus-2.12.0-3.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/tog-pegasus-2.12.0-3.fc18
Package tog-pegasus-2.12.0-3.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing tog-pegasus-2.12.0-3.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-19862/tog-pegasus-2.12.0-3.fc18 then log in and leave karma (feedback).
tog-pegasus-2.12.0-3.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.