Re: [osgi] Using Inventory API in Commons Log

2014-02-03 Thread Chetan Mehrotra
Thanks for the clarification Felix! Just to confirm though ... if Inventory bundle is later patched/refreshed it would then lead to refresh of Commons Log bundle also. Would that mean framework would be bought down to level 1 and restarted again Chetan Mehrotra On Mon, Feb 3, 2014 at 2:21 PM,

Re: [osgi] Using Inventory API in Commons Log

2014-02-03 Thread Felix Meschberger
Hi Am 03.02.2014 um 10:03 schrieb Chetan Mehrotra chetan.mehro...@gmail.com: Thanks for the clarification Felix! Just to confirm though ... if Inventory bundle is later patched/refreshed it would then lead to refresh of Commons Log bundle also. Yes Would that mean framework would be

Re: [osgi] Using Inventory API in Commons Log

2014-02-03 Thread Chetan Mehrotra
On Mon, Feb 3, 2014 at 2:54 PM, Felix Meschberger fmesc...@adobe.com wrote: So the question really is: what happens to the logger instances held by the bundles Before answering that I need to confirm would a new classloader be created for Commons Log upon package refresh? Probably yes

Re: [osgi] Using Inventory API in Commons Log

2014-02-03 Thread Felix Meschberger
Hi Am 03.02.2014 um 10:30 schrieb Chetan Mehrotra chetan.mehro...@gmail.com: On Mon, Feb 3, 2014 at 2:54 PM, Felix Meschberger fmesc...@adobe.com wrote: So the question really is: what happens to the logger instances held by the bundles Before answering that I need to confirm would a

Re: [osgi] Using Inventory API in Commons Log

2014-02-03 Thread Chetan Mehrotra
Yes, that probably is the consequence and we should refrain from adding Inventory API binding -- unless the commons log bundle exports the inventory API itself Well I required Inventory API to expose the logback state in JSON format (not that strong requirement though). Currently WebConsole

Re: [osgi] Using Inventory API in Commons Log

2014-02-03 Thread Felix Meschberger
Hi Well, officially, ConfigurationPrinter does not support JSON, but you can write JSON as TXT output Regards Felix Am 03.02.2014 um 11:01 schrieb Chetan Mehrotra chetan.mehro...@gmail.com: Yes, that probably is the consequence and we should refrain from adding Inventory API binding --

Re: [osgi] Using Inventory API in Commons Log

2014-02-03 Thread Chetan Mehrotra
On Mon, Feb 3, 2014 at 3:50 PM, Felix Meschberger fmesc...@adobe.com wrote: Well, officially, ConfigurationPrinter does not support JSON, but you can write JSON as TXT output I can ... but rendering JSON in TXT does not look pretty!!. Probably it can be officially made to support json.

Re: [osgi] Using Inventory API in Commons Log

2014-02-03 Thread Felix Meschberger
Hi Am 03.02.2014 um 11:24 schrieb Chetan Mehrotra chetan.mehro...@gmail.com: On Mon, Feb 3, 2014 at 3:50 PM, Felix Meschberger fmesc...@adobe.com wrote: Well, officially, ConfigurationPrinter does not support JSON, but you can write JSON as TXT output I can ... but rendering JSON in TXT

Re: [osgi] Using Inventory API in Commons Log

2014-02-03 Thread Chetan Mehrotra
On Mon, Feb 3, 2014 at 4:31 PM, Felix Meschberger fmesc...@adobe.com wrote: (Or semi-officially by just silently supporting it ?) Patches welcome. Sure. Added that to ToDo list!! Chetan Mehrotra