Fix tracing of CMPI messages with CMPI_DEV_DEBUG severity
This commit is contained in:
parent
0a035804aa
commit
59552ff23b
12
pegasus-2.12.0-cmpi-trace.patch
Normal file
12
pegasus-2.12.0-cmpi-trace.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -up pegasus/src/Pegasus/ProviderManager2/CMPI/CMPI_BrokerEnc.cpp.orig pegasus/src/Pegasus/ProviderManager2/CMPI/CMPI_BrokerEnc.cpp
|
||||
--- pegasus/src/Pegasus/ProviderManager2/CMPI/CMPI_BrokerEnc.cpp.orig 2012-12-06 08:33:48.569775902 +0100
|
||||
+++ pegasus/src/Pegasus/ProviderManager2/CMPI/CMPI_BrokerEnc.cpp 2012-12-06 08:34:26.285877678 +0100
|
||||
@@ -1343,7 +1343,7 @@ extern "C"
|
||||
{
|
||||
case CMPI_DEV_DEBUG:
|
||||
logSeverity = Logger::TRACE;
|
||||
- logFileType = Logger::TRACE_LOG;
|
||||
+ logFileType = Logger::STANDARD_LOG;
|
||||
break;
|
||||
case CMPI_SEV_INFO:
|
||||
logSeverity = Logger::INFORMATION;
|
@ -8,7 +8,7 @@
|
||||
|
||||
Name: tog-pegasus
|
||||
Version: %{major_ver}.0
|
||||
Release: 7%{?dist}
|
||||
Release: 8%{?dist}
|
||||
Epoch: 2
|
||||
Summary: OpenPegasus WBEM Services for Linux
|
||||
|
||||
@ -66,6 +66,10 @@ Patch21: pegasus-2.11.1-disable-privilege-separation.patch
|
||||
Patch22: pegasus-2.12.0-null_value.patch
|
||||
# 23: Enables Interop Provider - necessary to e. g. register CMPI providers
|
||||
Patch23: pegasus-2.12.0-enable_interop_provider.patch
|
||||
# 24: http://bugzilla.openpegasus.org/show_bug.cgi?id=9484
|
||||
# Fixes tracing for CMPI messages with CMPI_DEV_DEBUG severity
|
||||
#
|
||||
Patch24: pegasus-2.12.0-cmpi-trace.patch
|
||||
|
||||
BuildRequires: bash, sed, grep, coreutils, procps, gcc, gcc-c++
|
||||
BuildRequires: libstdc++, make, pam-devel
|
||||
@ -194,6 +198,7 @@ rm -rf pegasus/
|
||||
%patch21 -p1 -b .disable-privilege-separation
|
||||
%patch22 -p1 -b .null_value
|
||||
%patch23 -p1 -b .enable_interop_provider
|
||||
%patch24 -p1 -b .cmpi-trace
|
||||
|
||||
|
||||
%build
|
||||
@ -454,6 +459,10 @@ fi
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Dec 06 2012 Vitezslav Crhonek <vcrhonek@redhat.com> - .0-8
|
||||
- Fix tracing of CMPI messages with CMPI_DEV_DEBUG severity
|
||||
Resolves: #883395
|
||||
|
||||
* Mon Dec 03 2012 Vitezslav Crhonek <vcrhonek@redhat.com> - 2:2.12.0-7
|
||||
- Add %%check section and run unit tests
|
||||
- Enable -test subpackage
|
||||
|
Loading…
Reference in New Issue
Block a user