celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bpe...@apache.org
Subject svn commit: r1645700 - /celix/trunk/device_access/device_access/private/src/activator.c
Date Mon, 15 Dec 2014 17:15:55 GMT
Author: bpetri
Date: Mon Dec 15 17:15:55 2014
New Revision: 1645700

URL: http://svn.apache.org/r1645700
Log:
CELIX-182: fixed log level constants

Modified:
    celix/trunk/device_access/device_access/private/src/activator.c

Modified: celix/trunk/device_access/device_access/private/src/activator.c
URL: http://svn.apache.org/viewvc/celix/trunk/device_access/device_access/private/src/activator.c?rev=1645700&r1=1645699&r2=1645700&view=diff
==============================================================================
--- celix/trunk/device_access/device_access/private/src/activator.c (original)
+++ celix/trunk/device_access/device_access/private/src/activator.c Mon Dec 15 17:15:55 2014
@@ -33,6 +33,7 @@
 
 #include "driver_locator.h"
 #include "device_manager.h"
+#include "log_service.h"
 #include "log_helper.h"
 
 struct device_manager_bundle_instance {
@@ -111,10 +112,10 @@ celix_status_t bundleActivator_start(voi
 	}
 
 	if (status != CELIX_SUCCESS) {
-		logHelper_log(bundleData->loghelper, OSGI_FRAMEWORK_LOG_ERROR, "DEVICE_MANAGER: Error
while starting bundle got error num %d", status);
+		logHelper_log(bundleData->loghelper, OSGI_LOGSERVICE_ERROR, "DEVICE_MANAGER: Error while
starting bundle got error num %d", status);
 	}
 
-	logHelper_log(bundleData->loghelper, OSGI_FRAMEWORK_LOG_INFO, "DEVICE_MANAGER: Started");
+	logHelper_log(bundleData->loghelper, OSGI_LOGSERVICE_INFO, "DEVICE_MANAGER: Started");
 
 	return status;
 }



Mime
View raw message