Hi all,

I want to log messages to Felix console from one of my bundle.

I installed *org.apache.felix.log-1.0.0 *bundle on to felix and added
following property in config.properties file

*felix.log.level=4*
**
**
And used following code in my bundle for logging.

*ServiceReference ref =
bundleContext.getServiceReference(LogService.class.getName());
LogService log = (LogService) bundleContext.getService(ref);
log.log(log.LOG_DEBUG, "Debug info......");*
**
**
But I could not any messages in felix console and I am not getting any
excpetions. I could see LogService running, using *'services'* command in
felix console.
Please let me if I have done anything worng and missed anything.

Thanks
--Jagan.

Reply via email to