Thanx for the comment. You are right, it seems that one of the supporting bundle/plugin is taking controll of consoel output.(there are many budles in the project) I am trying to figure the machanism used for loging. out that.
OSGi framework doesn't provide any direct way to "write" the log into the file system; the OSGi log service is in-memory, so what mechanism are you using to write to the file system? Once that is cleared up, one can see how you can go about achieving (2).
Ali
On 2/15/2010 7:27 AM, Swapnil Patil wrote:
Hi all,
1. OSGi setting equivalent to java runtime option -Djava.ext.dirs=c:/jars
My plugin need few 3rd party jars in classpath.
In my MANIFEST.MF I have following entry
Bundle-ClassPath: .,
jars/a1.jar, jars/b1.jar, jars/c1.jar, ...
Is there a way I can define like jars/*.jar .
Actually I am looking for OSGi setting equivalent to java runtime option -Djava.ext.dirs=c:/jars
2. Controlling OSGi log file.
Is there any way of controlling logs generated in workspace directory of OSGi container.
Over the time log file is consuming considerable amount of hard drive space. Is there any way of control this log file. Typically I would like to created multiple log files of predefined size and then over-writing oldest file log file. ... similar to setting provided by Log4j library
Sorry if this is not the right forum to ask these kind of questions,
I will appreciate if somebody can point my to right mailing list.