Hi You can use the log service or the log MBean. You can provide the logger and the level.
It's the setLevel method. Regards JB -- Jean-Baptiste Onofré [email protected] http://blog.nanthrax.net Talend - http://wwx.talend.com ----- Reply message ----- From: "xav" <[email protected]> To: <[email protected]> Subject: Karaf 2.3.5 Set the log Level programmatically Date: Fri, Jul 11, 2014 11:41 am Hi all, I try to set the log level in my bundle. For example, I want to set programmatically the level (DEBUG, INFO, etc.) for a specific package (a.b.c.d) I saw logMBean, but I can not use it??? I try with a service, but I don't know which one? I am wrong??? any help will be appreciate. Thanks a lot Regards -- View this message in context: http://karaf.922171.n3.nabble.com/Karaf-2-3-5-Set-the-log-Level-programmatically-tp4034161.html Sent from the Karaf - User mailing list archive at Nabble.com.
